Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed test at t/app/Plack/Test/Suite.t #14

Open
moznion opened this issue Apr 14, 2014 · 2 comments
Open

Failed test at t/app/Plack/Test/Suite.t #14

moznion opened this issue Apr 14, 2014 · 2 comments

Comments

@moznion
Copy link

moznion commented Apr 14, 2014

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?

@goccy
Copy link
Owner

goccy commented Apr 14, 2014

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

@moznion
Copy link
Author

moznion commented Apr 14, 2014

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants