On Sun May 02 08:33:11 2010, masak wrote:
> <masak> rakudo: class A {}; class B { has A $.foo .= new }
> <p6eval> rakudo c4857a: OUTPUT«too few positional arguments: 1 passed,
> 2 (or more) expected [...]
> <slavik> s1n: it will take 1 month to do that ...
> * masak submits rakudobug
> <masak> alpha: class A {}; class B { has A $.foo .= new }
> <p6eval> alpha 30e0ed: OUTPUT«error:imcc:syntax error, unexpected
> '\n'␤   in file 'EVAL_25' line 186␤Null PMC access in
> find_method('new') [...]

This now complains about trying to append to an unitialized string, 
which seems reasonable:

15:51 < [Coke]> rakudo: class A {}; class B { has A $.foo .= new }
15:51 <+p6eval> rakudo 142c41: OUTPUT«Use of uninitialized value in 
string
                context␤Use of uninitialized value in string
                context␤===SORRY!===␤error:imcc:syntax error, 
unexpected DOT
                ('.')␤     in file '(file unknown)' line 371␤␤»

Closable with tests.

-- 
Will "Coke" Coleda

Reply via email to