-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Inlined inline val reference does not get constant folded #8843
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
Labels
Comments
Related to #8836 |
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 1, 2020
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 1, 2020
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 1, 2020
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 1, 2020
nicolasstucki
added a commit
that referenced
this issue
May 2, 2020
Fix #8843: Normalize type when constant folding
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minimized code
Output
Expectation
The reference to
size
should be replaced by the literal constant1
. This is needed to ensure that all local inline vals can be erased.The text was updated successfully, but these errors were encountered: