sorear/niecza — Issue #82: can't refer to classes while being defined.
Author: coke
Created: 2011-12-06 21:29:33+00:00
State: open

niecza> my class Foo { multi method gist(Foo:D:) { "gisted"; } }
===SORRY!===

In parameter declaration, typename 'Foo:D' must be predeclared (or marked as declarative with :: prefix) at (eval) line 1:
------> my class Foo { multi method gist(Foo:D⏏:) { "gisted"; } }

Parse failed

This causes a test failure in t/spec/S03-junctions/misc.t