-
Notifications
You must be signed in to change notification settings - Fork 1.1k
inline val
of null
#12177
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
Comments
I guess the error message is misleading, an inline val needs to have a literal type, and there is no literal type for |
I would have expected null is literally the most literal type. I guess the same for unit and nothing. |
|
The current limitation for supporting |
Compiler version
RC3
Minimized code
Output
Expectation
Want to check that this is really desired behaviour vs an oversight.
null
's are literal constants right?Literal(Constant(null))
is valid in the quoting API.The text was updated successfully, but these errors were encountered: