Created
October 31, 2011 22:33
-
-
Save masak/1329249 to your computer and use it in GitHub Desktop.
isolated the compilation parse error in Niecza
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment