view samples/compilerbug_001.tp @ 156:d6e79885bd3b

Fix compiler bug involving referencing a self method in a method defined before the referenced method
author Mike Pavone <pavone@retrodev.com>
date Sat, 10 Aug 2013 14:50:38 -0700
parents 90542a7077a9
children
line wrap: on
line source

#{
	value <- 0
	
	main <- {
		f <- {value}
		f:
	}
}