annotate samples/compilerbug_004.tp @ 275:d83647152485

Added option module which was omitted in commit of SDL work
author Michael Pavone <pavone@retrodev.com>
date Sun, 20 Jul 2014 12:34:25 -0700
parents 38127fbf5f9d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
64
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
1 #{
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
2 foo <- 42
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
3 new <- {
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
4 #{
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
5 bar <- foo
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
6 }
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
7 }
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
8
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
9 main <- {
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
10 print: (string: ((new: ) bar)) . "\n"
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
11 }
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
12
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
13 }
38127fbf5f9d Add sample for bug involving accesing a property of a parent object as an initial value for a new object property
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
14