view samples/stringops.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 27a2167663dd
children 7dfa4481deb0
line wrap: on
line source

#{
	main <- {
		print: "foo: " . 42 . "\n"
		print: (string: (length: "foo" . "bar")) . "\n"
	}
}