We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e8d5e commit 2ec5dffCopy full SHA for 2ec5dff
compiler/src/dotty/tools/dotc/core/Contexts.scala
@@ -731,7 +731,7 @@ object Contexts {
731
result.init(ctx)
732
result
733
734
- def comparing[T](op: TypeComparer => T)(using Context): T =
+ inline def comparing[T](inline op: TypeComparer => T)(using Context): T =
735
val saved = ctx.base.comparersInUse
736
try op(comparer)
737
finally ctx.base.comparersInUse = saved
0 commit comments