summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-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.
*