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
Assertation failure in comments with symbol suggestion #398
Comments
This issue has been automatically marked as stale because it has not had recent activity. |
Tried to simplify the MCVE as much as possible, got to the following: /* 3 empty lines */
new a, b;// <= line 4 test.pwn: #include "test.inc"
main(){} In this example the compiler prints two
Then when
I think the fix should involve introducing a new local variable in function |
…__pragma` tests This was another manifestation of the bug reported in pawn-lang#398.
This issue has been automatically marked as stale because it has not had recent activity. |
Issue description:
Minimal complete verifiable example (MCVE):
comments.p:
main.p:
As far as I have been able to derive. Everything there is required - even the comments and spacing! Just removing one name from that list compiles "correctly" (i.e. gives errors). And I just realised why, the assertion failure is:
errstart <= fline
so I think the problem is related to the relative lengths of the files.
Workspace Information:
The text was updated successfully, but these errors were encountered: