view samples/compilerbug_004.tp @ 65:b4190db72288

Add sample for bug triggered by accessing a lambda-defined message in variable style
author Mike Pavone <pavone@retrodev.com>
date Sat, 14 Jul 2012 04:56:05 -0700
parents 38127fbf5f9d
children
line wrap: on
line source

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

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

}