summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2005-11-29 21:17:22 +0000
committerBurak Emir <emir@epfl.ch>2005-11-29 21:17:22 +0000
commit0b6923d694a67e35e10adfe9366b55e3fdbe2135 (patch)
tree574ade026ce59c98870bb24f3493699532cd82fa
parent6e137742b177eae56c56a2a778310eee6beca9df (diff)
downloadscala-0b6923d694a67e35e10adfe9366b55e3fdbe2135.tar.gz
scala-0b6923d694a67e35e10adfe9366b55e3fdbe2135.tar.bz2
scala-0b6923d694a67e35e10adfe9366b55e3fdbe2135.zip
comment
-rw-r--r--sources/scala/tools/nsc/ast/Trees.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/scala/tools/nsc/ast/Trees.scala b/sources/scala/tools/nsc/ast/Trees.scala
index c23252131a..91f608358e 100644
--- a/sources/scala/tools/nsc/ast/Trees.scala
+++ b/sources/scala/tools/nsc/ast/Trees.scala
@@ -267,6 +267,9 @@ import symtab.Flags._;
/** Labelled expression - the symbols in the array (must be Idents!)
* are those the label takes as argument
*
+ * The symbol that is given to the labeldef should have a MethodType
+ * (as if it were a nested function)
+ *
* jumps are apply nodes attributed with label symbol, the arguements
* will get assigned to the idents.
*