view samples/compilerbug_004.tp @ 96:84b65ee8b78b

Optimize self method calls into static function calls
author Mike Pavone <pavone@retrodev.com>
date Thu, 26 Jul 2012 18:54:42 -0700
parents 38127fbf5f9d
children
line wrap: on
line source

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

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

}