Mercurial > repos > tabletprog
view samples/private.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 | cd41f7c22fcd |
children |
line wrap: on
line source
#{ makeobj <- { foo <- 40 #{ bar <- { foo } inc <- { foo <- foo + 1 1 } } } main <- { baz <- makeobj: inc: baz inc: baz bar: baz } }