We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tree-sitter-php/corpus/expressions.txt
Lines 143 to 157 in 8443558
This test fails locally:
✗ Nowdocs » actual expected (program (ERROR) (text) (echo_statement (binary_expression (function_call_expression (qualified_name (name)) (arguments)) (qualified_name (name)))) (expression_statement (qualified_name (name))))heredoc)))
I don't know why it doesn't fail on CI but does locally. It seems that NOWDOC is expected to parsed as HEREDOC from the test however which is wrong.
Also testing the tests code in Atom when running atom/language-php#303 confirms that it's parsed the same way as the test.
Expected should be:
(program (expression_statement (nowdoc)))
http://php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc http://php.net/manual/en/language.types.string.php#language.types.string.syntax.nowdoc https://wiki.php.net/rfc/heredoc-with-double-quotes
The text was updated successfully, but these errors were encountered:
This is likely due to CRLF line endings. See also tree-sitter/tree-sitter#913.
Sorry, something went wrong.
I think this will be fixed in #55.
Thanks to @maxbrunsfeld for the fix!
No branches or pull requests
tree-sitter-php/corpus/expressions.txt
Lines 143 to 157 in 8443558
This test fails locally:
I don't know why it doesn't fail on CI but does locally. It seems that NOWDOC is expected to parsed as HEREDOC from the test however which is wrong.
Also testing the tests code in Atom when running atom/language-php#303 confirms that it's parsed the same way as the test.
Expected should be:
http://php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
http://php.net/manual/en/language.types.string.php#language.types.string.syntax.nowdoc
https://wiki.php.net/rfc/heredoc-with-double-quotes
The text was updated successfully, but these errors were encountered: