Skip to content
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

Manual examples on "Lookup rules for template parameters" do not compile as expected. #19489

Open
rockcavera opened this issue Feb 4, 2022 · 0 comments

Comments

@rockcavera
Copy link
Contributor

The two examples in Lookup rules for template parameters do not compile as they should according to the comments in the code itself , where the first example should produce levA levA and the second levA levB. I tested it on Nim devel, 1.6.2 and 1.0.0, and both examples return levA levB.

I don't know if the manual is wrong or the compiler is not producing what it should produce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant