diff samples/compilerbug_005.tp @ 69:ba032565c7a5

Fix handling of variable style access to self and parent object messages defined with lambdas. Improve test case for this bug to include parent object access as well as self object access.
author Mike Pavone <pavone@retrodev.com>
date Sat, 14 Jul 2012 19:24:04 -0700
parents b4190db72288
children
line wrap: on
line diff
--- a/samples/compilerbug_005.tp	Sat Jul 14 16:14:01 2012 -0700
+++ b/samples/compilerbug_005.tp	Sat Jul 14 19:24:04 2012 -0700
@@ -1,6 +1,12 @@
 #{
 	foo <- { "foobar" }
+	bar <- #{
+		baz <- {
+			print: foo
+		}
+	}
 	main <- {
 		print: foo
+		bar baz
 	}
 }