You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following test:
- tests/pos/i3130b.scala
If we add `transparent`, then everything is OK.
The reason is that we set `Symbol.defTree` systematically
in PostTyper. Now the inlining happens after PostTyper,
thus `defTree` is not properly set for inlined definitions.
To compensate, add ensure that `defTree` is set in the typer.
The inliner calls the typer, thus the inlined definitions will
have `defTree` set properly.
0 commit comments