view samples/compilerbug_004.tp @ 187:810edf474f86

Fix parse precedence problem between opsyms and symbols in assignments
author Mike Pavone <pavone@retrodev.com>
date Mon, 26 Aug 2013 17:46:47 -0700
parents 38127fbf5f9d
children
line wrap: on
line source

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

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

}