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
Can't refer to a constant in RHS of the constant declaration in Rakudo #2667
Comments
From @masak<masak> nom: constant catalan = 1, map { (4*$_ + 2) / ($_ + 2) * |
From @usev6The error messages for the first two commands have changed slightly, but in the same way. I'm pasting the second example only: $ perl6 -e 'constant k = 1, map { k[$_] }, 0..*; .say for k[^10]' But on MoarVM and JVM the third example now gives a different (though LTA) error: $ perl6-m -e 'constant k = k; say k' $ perl6-j -e 'constant k = k; say k' |
1 similar comment
From @usev6The error messages for the first two commands have changed slightly, but in the same way. I'm pasting the second example only: $ perl6 -e 'constant k = 1, map { k[$_] }, 0..*; .say for k[^10]' But on MoarVM and JVM the third example now gives a different (though LTA) error: $ perl6-m -e 'constant k = k; say k' $ perl6-j -e 'constant k = k; say k' |
@usev6 - Status changed from 'new' to 'open' |
From @AlexDanielStill reproducible (2017.11,HEAD(e5b660e)). Now it complains early and the error is not as LTA: ===SORRY!=== Error while compiling /tmp/zOO8XZsbYQ On 2015-03-10 05:18:33, bartolin@gmx.de wrote:
|
Migrated from rt.perl.org#111674 (status was 'open')
Searchable as RT111674$
The text was updated successfully, but these errors were encountered: