-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
"type expected" error for proc resolution with static[int]] #10833
Comments
after debugging make the first error dispear, it runs into elif (n[0].kind == nkBracketExpr or shouldBeBracketExpr(n)) and
isSymChoice(n[0][0]): before the final fix |
I expect the example below to compile, but it instead fails with a cryptic error message
Example
Current Output
Expected Output
I expect this code to compile
Possible Solution
I have no proposed solution, but I've found that renaming one of the methods works around the bug:
Additional Information
The text was updated successfully, but these errors were encountered: