summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-06-03 21:51:39 +0200
committerEugene Burmako <xeno.by@gmail.com>2013-06-03 22:46:05 +0200
commit488444b327f222fa4ef317b5d96fb7cdf732d4d2 (patch)
tree338381bd0e07faf87015c302a3cf4ba8a7204c28 /src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
parent69887ddd682057c4787e2e4377830390faf8ecf1 (diff)
downloadscala-488444b327f222fa4ef317b5d96fb7cdf732d4d2.tar.gz
scala-488444b327f222fa4ef317b5d96fb7cdf732d4d2.tar.bz2
scala-488444b327f222fa4ef317b5d96fb7cdf732d4d2.zip
cleans up 82f0925
Updates comments, implements accidentally forgotten IMPLPARAM_TREE, creates a test to ensure that nothing else is overseen.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
index fe1607c631..7fa199afaf 100644
--- a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
@@ -782,7 +782,7 @@ trait ContextErrors {
}
def MacroExpansionHasInvalidTypeError(expandee: Tree, expanded: Any) = {
- val expected = "expr"
+ val expected = "expr or tree"
val isPathMismatch = expanded != null && expanded.isInstanceOf[scala.reflect.api.Exprs#Expr[_]]
macroExpansionError(expandee,
s"macro must return a compiler-specific $expected; returned value is " + (