view samples/compilerbug_004.tp @ 257:be224817a14b

Fix fold on ast nodes so that all nodes get visited
author Michael Pavone <pavone@retrodev.com>
date Sun, 01 Jun 2014 17:20:29 -0700
parents 38127fbf5f9d
children
line wrap: on
line source

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

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

}