Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

Bizarre LTA error message when not putting in whitespace between 'is MyBase' and the opening brace '{' in class declaration in Rakudo #3764

Open p6rt opened 9 years ago

p6rt commented 9 years ago

Migrated from rt.perl.org#124213 (status was 'open')

Searchable as RT124213$

p6rt commented 9 years ago

From @masak

\ m​: class T{}; class S is T{} \ rakudo-moar 2b303a​: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value'␤» \ uh-ho. \ Ven​: try with a space before the { \ m​: class T {}; class S is T {} \ rakudo-moar 2b303a​: OUTPUT«1␤» * masak submits rakudobug \ I bet it's the is T{} parsing as a postcircumfix...it's still a bizarre error. \ incomprehension-based debugging

p6rt commented 8 years ago

From @bbkr

In 2016.08 it is treated as type followed by Hash

Cannot resolve caller trait_mod​:\(S, T, Hash); none of these signatures match​:   (Mu​:U $child, Mu​:U $parent)   (Mu​:U $child, :$DEPRECATED!)   (Mu​:U $type, :$rw!)   (Mu​:U $type, :$nativesize!)   (Mu​:U $type, :$ctype!)   (Mu​:U $type, :$unsigned!)   (Mu​:U $type, :$hidden!)   (Mu​:U $type, Mu :$array_type!)   (Mu​:U $type, *%fail)

p6rt commented 8 years ago

The RT System itself - Status changed from 'new' to 'open'