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

constant with BEGIN block triggers QAST::Block with cuid 4 has not appeared #5904

Open
p6rt opened this issue Dec 22, 2016 · 1 comment
Open
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 22, 2016

Migrated from rt.perl.org#130389 (status was 'new')

Searchable as RT130389$

@p6rt
Copy link
Author

p6rt commented Dec 22, 2016

From @zoffixznet

<ZoffixW> m​: constant HNY = BEGIN DateTime.new(year => .year + (1 if .month <= 6)).utc given DateTime.now.utc; dd HNY
<camelia> rakudo-moar 660b0b​: OUTPUT«===SORRY!===␤QAST​::Block with cuid 4 has not appeared␤»
<ZoffixW> m​: constant HNY = BEGIN { DateTime.new(year => .year + (1 if .month <= 6)).utc given DateTime.now.utc }; dd HNY
<camelia> rakudo-moar 660b0b​: OUTPUT«===SORRY!===␤QAST​::Block with cuid 4 has not appeared␤»
<ZoffixW> m​: constant $HNY = BEGIN { DateTime.new(year => .year + (1 if .month <= 6)).utc given DateTime.now.utc }; dd HNY
<camelia> rakudo-moar 660b0b​: OUTPUT«===SORRY!=== Error while compiling <tmp>␤Undeclared name​:␤ HNY used at line 1␤␤»
<ZoffixW> m​: constant $HNY = BEGIN { DateTime.new(year => .year + (1 if .month <= 6)).utc given DateTime.now.utc }; dd $HNY
<camelia> rakudo-moar 660b0b​: OUTPUT«===SORRY!===␤QAST​::Block with cuid 4 has not appeared␤»

@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