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
$ perl6 -e 'sub f ($op) { "&infix:<$op>"; }; f("+").perl.say' # This is OK
"\&infix:<+>"
$ perl6 -e 'sub f ($op) { "&infix:«$op»"; }; f("+").perl.say' # This warning should not happen since there is no interpolation of &thing without () after it.
Use of uninitialized value of type Mu in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed. in code at -e line 1
"\&infix:«+»"
$ perl6 -e 'sub f ($op) { "&infix:«$op»(1,2)"; }; f("+").perl.say' # Whether the warning should happen here is beyond me, the error is correct because an EVAL would be required to dynamically use :infix«...»
Use of uninitialized value of type Mu in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed. in code at -e line 1
===SORRY!=== Error while compiling -e
Undeclared routine:
infix:<> used at line 1. Did you mean 'infix:<->', 'infix:<∖>', 'infix:<o>', 'infix:<⊎>'?
Migrated from rt.perl.org#127284 (status was 'new')
Searchable as RT127284$
The text was updated successfully, but these errors were encountered: