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 c7cdacd commit ec0864cCopy full SHA for ec0864c
compiler/src/dotty/tools/dotc/cc/CaptureOps.scala
@@ -146,7 +146,7 @@ extension (tp: Type)
146
defn.FunctionType(
147
fname.functionArity,
148
isContextual = fname.isContextFunction,
149
- isErased = fname.isErasedFunction, // TODO @natsukagami fix this
+ isErased = fname.isErasedFunction, // fine as AppliedType(_, _) already unwrapped the refinement away
150
isImpure = true).appliedTo(args)
151
case _ =>
152
tp
0 commit comments