goccy / p5-Compiler-Parser

Create Abstract Syntax Tree for Perl5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed test at `t/app/Plack/Test/Suite.t`

moznion opened this issue · comments

Maybe cause of failure is on https://github.com/goccy/p5-Compiler-Parser/blob/master/t/app/Plack/Test/Suite.t#L5703-L5708

Can Compiler::Parser recognize such as codes?

Hmmm... This test code has been passed on my environment. (Compiler::Lexer's version is 0.18.0)
Also, the following tests has been pass too.
http://www.cpantesters.org/cpan/report/4d9167ba-be47-11e3-b1af-ad5cb7823e12

Umm, in my environment generates the following result;

Assertion failed: (0 && "syntax error! near by sub declare"), function parseFunction, file src/compiler/parser/Compiler_parser.cpp, line 1554.
t/app/Plack/Test/Suite.t ..................
No subtests run

And I append my environment information

$ clang --version
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
$ perl -v
This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-2level

Do you know anything?