File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer
library/src/scala/compiletime Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3598,7 +3598,7 @@ class Typer extends Namer
3598
3598
}
3599
3599
3600
3600
// Overridden in InlineTyper
3601
- def suppressInline (using Context ): Boolean = ctx.isAfterTyper
3601
+ def suppressInline (using Context ): Boolean = ctx.isAfterTyper && ctx.phase.phaseName != " inlining "
3602
3602
3603
3603
/** Does the "contextuality" of the method type `methType` match the one of the prototype `pt`?
3604
3604
* 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