aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2016-12-15 17:44:06 +0100
committerGitHub <noreply@github.com>2016-12-15 17:44:06 +0100
commita5620ab882b95ef60acf42814ac5568d5f93bdd4 (patch)
treea524a250769cd72ebb316c30b8166c4c45d7fc43 /compiler/src/dotty/tools/dotc/typer/Typer.scala
parent9f2b5ad068c06c62e28a3543218f5c1bc0362f74 (diff)
parentbc869e74cb18ffdb4d42b59ad654f55403b9b6bd (diff)
downloaddotty-a5620ab882b95ef60acf42814ac5568d5f93bdd4.tar.gz
dotty-a5620ab882b95ef60acf42814ac5568d5f93bdd4.tar.bz2
dotty-a5620ab882b95ef60acf42814ac5568d5f93bdd4.zip
Merge pull request #1785 from dotty-staging/fix-#1784
Fix #1784: allow to omit types for local implicit vals
Diffstat (limited to 'compiler/src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/typer/Typer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala
index 78c479433..eec3859f9 100644
--- a/compiler/src/dotty/tools/dotc/typer/Typer.scala
+++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -1642,7 +1642,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
tryInsertImplicitOnQualifier(tree, pt).getOrElse(fallBack)
if (isApplyProto(pt)) tryImplicit
- else tryEither(tryApply(_))((_, _) => tryImplicit)
+ else tryEither(tryApply(_))((_, _) => tryImplicit)
}
/** If this tree is a select node `qual.name`, try to insert an implicit conversion