view samples/compilerbug_002.tp @ 137:101fa04ee9e1

Fix calling methods on objects that are not self when self implements the method being called
author Mike Pavone <pavone@retrodev.com>
date Thu, 08 Aug 2013 21:46:05 -0700
parents 93ddb4ad6fcb
children
line wrap: on
line source

#{
	value <- 42
	main <- {
		foo <- {
			bar <- {value}
			bar:
		}
		print: (string: (foo: ))
	}
}