diff options
Diffstat (limited to 'src/dotty/tools/dotc/typer/Applications.scala')
-rw-r--r-- | src/dotty/tools/dotc/typer/Applications.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Applications.scala b/src/dotty/tools/dotc/typer/Applications.scala index 99e29fb30..d63c562f3 100644 --- a/src/dotty/tools/dotc/typer/Applications.scala +++ b/src/dotty/tools/dotc/typer/Applications.scala @@ -598,7 +598,7 @@ trait Applications extends Compatibility { self: Typer => argTypes = argTypes.take(args.length) ++ List.fill(argTypes.length - args.length)(WildcardType) } - val typedArgs = (bunchedArgs, argTypes).zipped map (typed(_, _)) + val typedArgs = (bunchedArgs, argTypes).zipped(identity, identity) map (typed(_, _)) val result = cpy.UnApply(tree, unapply, typedArgs) withType ownType if ((ownType eq pt) || ownType.isError) result else Typed(result, TypeTree(ownType)) |