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
@nonmaterializable
Using @nonmaterializable(T) with certain T emits the error: "use of unknown declaration 'nonmaterializable'" when it shouldn't.
@nonmaterializable(T)
T
Case where the error shouldn't be emitted because we already get an error for the cause (the nonexistent type):
@nonmaterializable(nonexistenttype) struct Bar: pass
Case where a different error should be emitted (unless this should be supported?):
struct Foo[T: AnyType]: pass @nonmaterializable(Foo[Int]) struct Bar: pass
- Ubuntu in WSL - mojo 2024.5.2605 (9c328b12) - modular 0.8.0 (39a426b5)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug description
Using
@nonmaterializable(T)
with certainT
emits the error: "use of unknown declaration 'nonmaterializable'" when it shouldn't.Steps to reproduce
Case where the error shouldn't be emitted because we already get an error for the cause (the nonexistent type):
Case where a different error should be emitted (unless this should be supported?):
System information
- Ubuntu in WSL - mojo 2024.5.2605 (9c328b12) - modular 0.8.0 (39a426b5)
The text was updated successfully, but these errors were encountered: