File tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer
library/src/scala/compiletime
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3586,7 +3586,7 @@ class Typer extends Namer
3586
3586
}
3587
3587
3588
3588
// Overridden in InlineTyper
3589
- def suppressInline (using Context ): Boolean = ctx.isAfterTyper
3589
+ def suppressInline (using Context ): Boolean = ctx.isAfterTyper && ctx.phase.phaseName != " inlining "
3590
3590
3591
3591
/** Does the "contextuality" of the method type `methType` match the one of the prototype `pt`?
3592
3592
* This is the case if
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ package object compiletime {
123
123
* @tparam T the tuple containing the types of the values to be summoned
124
124
* @return the given values typed as elements of the tuple
125
125
*/
126
- inline def summonAll [T <: Tuple ]: Tuple .Widen [T ] =
126
+ transparent inline def summonAll [T <: Tuple ]: Tuple .Widen [T ] =
127
127
val res =
128
128
inline erasedValue[T ] match
129
129
case _ : EmptyTuple => EmptyTuple
You can’t perform that action at this time.
0 commit comments