-
-
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
Render bug: explicit generic param in call is omitted #10580
Comments
I don't have a clean and simple solution. Possible solutions:
@Araq: |
I'm working on a spec for |
Ok, if we don't want to change AST then renderer only solution from the above should be ok. Renderer will add It will be verbose, but correct. Any issues with this approach? |
Well I don't understand how you will accomplish "* Renderer will detect that called symbol is with |
This seems similar to: #7737 (getTypeInst for generics does not gives the full instantiation info in certain cases) and another case of the meta issue with generics + macros (nim-lang/RFCs#44) |
Example :
test
proc is rendered in the following way:The required generic type argument
[bool]
is omitted from thenewSeq
call and rendered code does not compile.The text was updated successfully, but these errors were encountered: