-
-
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
behaves as the identity operator when applied to types
#1674
Comments
Can you provide some more context? In which situations is
|
@zah: Interestingly, the main issue I was having ( Though the following program still compiles (and it shouldn't): static:
assert int is type(int)
assert type(int) is int |
see also test case here:
|
Because it is unclear if |
Currently,
type(int)
isint
. I expecttype(int)
should eithertypedesc
.Types other than
int
behave analogously.The text was updated successfully, but these errors were encountered: