view samples/compilerbug_004.tp @ 64:38127fbf5f9d

Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
author Mike Pavone <pavone@retrodev.com>
date Sat, 14 Jul 2012 04:53:31 -0700
parents
children
line wrap: on
line source
#{
	foo <- 42
	new <- {
		#{
			bar <- foo
		}
	}

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

}