From 0b6923d694a67e35e10adfe9366b55e3fdbe2135 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Tue, 29 Nov 2005 21:17:22 +0000 Subject: comment --- sources/scala/tools/nsc/ast/Trees.scala | 3 +++ 1 file changed, 3 insertions(+) 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. * -- cgit v1.2.3