summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorphaller <philipp.haller@typesafe.com>2012-06-14 17:49:13 +0200
committerphaller <philipp.haller@typesafe.com>2012-06-14 17:49:13 +0200
commitcdfbe8e39fbbec00c969cd74f117ae410b98b40b (patch)
tree35e35708a81948bc632c9439259fe7d6ffa19767 /src
parent796024c7429a03e974a7d8e1dc5c80b84f82467d (diff)
downloadscala-cdfbe8e39fbbec00c969cd74f117ae410b98b40b.tar.gz
scala-cdfbe8e39fbbec00c969cd74f117ae410b98b40b.tar.bz2
scala-cdfbe8e39fbbec00c969cd74f117ae410b98b40b.zip
Remove stray comment
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index 7e4f50ecd7..8f84431d52 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -3987,7 +3987,6 @@ trait Typers extends Modes with Adaptations with Tags {
ReturnWithoutTypeError(tree, enclMethod.owner)
} else {
context.enclMethod.returnsSeen = true
- //TODO: also pass enclMethod.tree, so that adaptAnnotations can check whether return is in tail position
pushAnnotationContext(tree)
val expr1: Tree = typed(expr, EXPRmode | BYVALmode, restpt.tpe)
popAnnotationContext()