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
Putting things in a script works but triggers an error message in the module loader.
$ cat q
say("OH HAI");
$ ./nqp q
OH HAI
Cannot take substr outside string
current instr.: 'nqp;ModuleLoader;set_mainline_module' pc 2814 (src/stage2/gen/module_loader.pir:1052)
called from Sub '_block11' pc 63 ((file unknown):36284014)
called from Sub 'nqp;HLL;Compiler;_block1706' pc 36838 (src/stage2/gen/NQPHLL.pir:0)
called from Sub 'nqp;HLL;Compiler;eval' pc 36699 (src/stage2/gen/NQPHLL.pir:11432)
called from Sub 'nqp;HLL;Compiler;_block1955' pc 38739 (src/stage2/gen/NQPHLL.pir:12251)
called from Sub 'nqp;HLL;Compiler;evalfiles' pc 38574 (src/stage2/gen/NQPHLL.pir:12182)
called from Sub 'nqp;HLL;Compiler;command_line' pc 37820 (src/stage2/gen/NQPHLL.pir:11862)
called from Sub 'MAIN' pc 20012 (src/stage2/gen/NQP.pir:4541)
called from Sub '_block11' pc 176 (src/stage2/gen/NQP.pir:78)
Using '--' before the filename makes things work again. o.O
masak@ubuntu:~/ours/nqp$ ./nqp -- q
OH HAI
The text was updated successfully, but these errors were encountered:
Running from command line works.
Putting things in a script works but triggers an error message in the module loader.
Using '--' before the filename makes things work again.
o.OThe text was updated successfully, but these errors were encountered: