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 605afc8 commit 12d08c9Copy full SHA for 12d08c9
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -764,7 +764,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
764
}
765
766
def typedFunctionValue(tree: untpd.Function, pt: Type)(implicit ctx: Context) = {
767
- val untpd.Function(params: List[untpd.ValDef], body) = tree
+ val untpd.Function(params: List[untpd.ValDef] @unchecked, body) = tree
768
769
pt match {
770
case pt: TypeVar if untpd.isFunctionWithUnknownParamType(tree) =>
0 commit comments