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
Examples:
import pytest # type: ignore def ndarray_func(x): # type: (np.ndarray) -> np.ndarray return x
Error:
$ lpython --show-ast examples/expr2.py --tree --new-parser syntax error: Token '# type: ignore' (of type 'type_comment') is unexpected here --> examples/expr2.py:3:16 | 3 | import pytest # type: ignore | ^^^^^^^^^^^^^^ Note: if any of the above error or warning messages are not clear or are lacking context please report it to us (we consider that a bug that needs to be fixed).
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Examples:
Error:
The text was updated successfully, but these errors were encountered: