diff options
author | Martin Odersky <odersky@gmail.com> | 2016-07-17 11:05:23 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-07-17 11:05:23 +0200 |
commit | 9d66f8688291cb59ad78784d792dcf28a5527142 (patch) | |
tree | 8d6283fd1ac1befa48641990841a0097ae46d73c /src/dotty/tools/dotc/ast/TreeInfo.scala | |
parent | 0eb2d76c467a53786ae6147c9c983c23ab0894c8 (diff) | |
download | dotty-9d66f8688291cb59ad78784d792dcf28a5527142.tar.gz dotty-9d66f8688291cb59ad78784d792dcf28a5527142.tar.bz2 dotty-9d66f8688291cb59ad78784d792dcf28a5527142.zip |
Adress reviewers comments
Diffstat (limited to 'src/dotty/tools/dotc/ast/TreeInfo.scala')
-rw-r--r-- | src/dotty/tools/dotc/ast/TreeInfo.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/ast/TreeInfo.scala b/src/dotty/tools/dotc/ast/TreeInfo.scala index 55eb21687..a48651ebf 100644 --- a/src/dotty/tools/dotc/ast/TreeInfo.scala +++ b/src/dotty/tools/dotc/ast/TreeInfo.scala @@ -280,7 +280,7 @@ trait TreeInfo[T >: Untyped <: Type] { self: Trees.Instance[T] => trait UntypedTreeInfo extends TreeInfo[Untyped] { self: Trees.Instance[Untyped] => import TreeInfo._ - def isFunctionWithImplicitParamType(tree: Tree) = tree match { + def isFunctionWithUnknownParamType(tree: Tree) = tree match { case untpd.Function(args, _) => args.exists { case ValDef(_, tpt, _) => tpt.isEmpty |