Ovid (>): > This code: > > class x { > multi method y { self.y("void") } > multi method y (Str $arg) { say $arg } > } > x.new.y("foo"); > x.new.y; > > Produces this output: > > Method 'y' not found for invocant of class 'Failure' > in Main (file src/gen_setting.pm, line 324)
This is a parsing issue. (Don't ask me how I know.) Put a semicolon after the closing brace for the class, and the problem goes away. Still a bug, of course.