-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Inlining affects order of execution #13747
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
@nicolasstucki What do you think? Is this a bug? |
I think that's a bug. Here is the expansion if the val min: Minus =
{
val that$proxy1: RHS = new RHS()
val Bar_this: LHS = new LHS()
new Minus(Bar_this, that$proxy1)
} The definitions of |
BTW, is there a reason why |
@soronpo I think it's because the proxies should be available to meta programming and we want to avoid |
Not completely sure this is a bug, but to me whether a method is inlined or not should not affect the order of execution.
Compiler version
v3.1.0-RC3
Minimized code
Output
assertion failed
Expectation
No failure. Inlining should not affect the execution order.
The text was updated successfully, but these errors were encountered: