#531 Allow curry of private methods

brian Wed 15 Apr 2009

class Foo
{
  private Void bar() { echo("bar") }
  Void main() { (&bar)() }
}

C:\dev\stuff\play\play.fan(4,18): Private method 'play_0::Foo.bar' not accessible

brian Wed 15 Apr 2009

Promoted to ticket #531 and assigned to brian

brian Fri 1 May 2009

Ticket resolved in 1.0.42

Add addition cross-references for scope checking: TypeDef.curry and CurryExpr.enclosingType.

Login or Signup to reply.