comparison 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
comparison
equal deleted inserted replaced
63:86ebdfb33711 64:38127fbf5f9d
1 #{
2 foo <- 42
3 new <- {
4 #{
5 bar <- foo
6 }
7 }
8
9 main <- {
10 print: (string: ((new: ) bar)) . "\n"
11 }
12
13 }
14