view samples/compilerbug_004.tp @ 201:d2e0664ba73e

Don't allow assignments to module variables
author Mike Pavone <pavone@retrodev.com>
date Wed, 28 Aug 2013 01:05:14 -0700
parents 38127fbf5f9d
children
line wrap: on
line source

#{
	foo <- 42
	new <- {
		#{
			bar <- foo
		}
	}

	main <- {
		print: (string: ((new: ) bar)) . "\n"
	}

}