-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Wrong source when mixing inline and transparent inline #16609
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
Might be related or solved by #15684 |
Compiling this with def foo(x: Int): Int =
{{/* inlined from boundary */
{{/* inlined from outside */
{{/* inlined from f[Int](10) */{{/* inlined from outside */10}}:Int}}
}}
}} This implies that the The issue must be that we copy the |
Compiling with
Re-compiling with Stack dump
The following line seems to be the place where we need to fix this
We need to make sure that the correct context is set when we call |
Drop the `transparent` in order to curcumvent scala#16609
Drop the `transparent` in order to curcumvent scala#16609
Drop the `transparent` in order to curcumvent scala#16609
Drop the `transparent` in order to curcumvent scala#16609
Drop the `transparent` in order to curcumvent scala#16609
Drop the `transparent` in order to curcumvent scala#16609
Compiler version
3.2.2 RC2
Minimized example
Two files.
2nd file:
Output
Under -Ycheck:all:
Expectation
Should pass Ycheck
The text was updated successfully, but these errors were encountered: