public
Created

isolated the compilation parse error in Niecza

  • Download Gist
bash-output.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
$ cat A.pm
class A;
$ cat B.pm
use A;
 
class B is A;
 
say "OH HAI"
$ niecza B.pm
===SORRY!===
 
Semicolon form of class definition not allowed in subscope;
please use block form at /tmp/B.pm line 3:
------> class B is A⏏;
 
Parse failed
 
$ niecza B.pm
OH HAI
$ rm ~/ours/niecza/obj/Run.A.*
$ niecza B.pm
===SORRY!===
 
Semicolon form of class definition not allowed in subscope;
please use block form at /tmp/B.pm line 3:
------> class B is A⏏;
 
Parse failed
 
$

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.