Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Mar 31, 2015 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 31, 2015

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

Searchable as RT124213$

@p6rt
Copy link
Author

p6rt commented Mar 31, 2015

From @masak

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

@p6rt
Copy link
Author

p6rt commented Aug 21, 2016

From @bbkr

In 2016.08 it is treated as type followed by Hash

Cannot resolve caller trait_mod​:<is>(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
Copy link
Author

p6rt commented Aug 21, 2016

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

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant