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 @@ -3615,7 +3615,7 @@ class Typer extends Namer
3615
3615
}
3616
3616
3617
3617
// Overridden in InlineTyper
3618
- def suppressInline (using Context ): Boolean = ctx.isAfterTyper
3618
+ def suppressInline (using Context ): Boolean = ctx.isAfterTyper && ctx.phase.phaseName != " inlining "
3619
3619
3620
3620
/** Does the "contextuality" of the method type `methType` match the one of the prototype `pt`?
3621
3621
* This is the case if
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ package object compiletime {
129
129
* @tparam T the tuple containing the types of the values to be summoned
130
130
* @return the given values typed as elements of the tuple
131
131
*/
132
- inline def summonAll [T <: Tuple ]: Tuple .Widen [T ] =
132
+ transparent inline def summonAll [T <: Tuple ]: Tuple .Widen [T ] =
133
133
val res =
134
134
inline erasedValue[T ] match
135
135
case _ : EmptyTuple => EmptyTuple
You can’t perform that action at this time.
0 commit comments