You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my Int constant foo = 1 # should work and does in rakudo
my constant foo of Int = 1 # should work and does not in rakudo
using #perl6 evalbot:
r: my Int constant foo = 1
rakudo-parrot 5fe2db, rakudo-jvm 5fe2db, rakudo-moar 5fe2db: ( no output )
r: my constant foo of Int = 1
rakudo-jvm 5fe2db: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m Error while compiling /tmp/tmpfileWrong number of arguments passed; expected 1..1, but got 1at /tmp/tmpfile:1------> »
..rakudo-moar 5fe2db: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m Error while compiling /tmp/tmpfileUnexpected named parameter 'SYMBOL' passedat /tmp/tmpfile:1------> »
..rakudo-parrot 5fe2db: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m Error while compiling /tmp/tmpfiletoo many named arguments: 1 passed, 0 usedat /tmp/tmpfile:1------> »
std: my constant foo of Int = 1
std 09dda5b: OUTPUT«ok 00:01 122m»
Migrated from rt.perl.org#121296 (status was 'new')
Searchable as RT121296$
The text was updated successfully, but these errors were encountered: