From a5d85a9e9620699775e77ca0bfc4f1390e05229f Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 1 May 2003 09:01:16 +0000 Subject: *** empty log message *** --- sources/meta/scala/MetaFunction.java | 2 +- sources/meta/scalac/ast/Tree.java | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'sources/meta') diff --git a/sources/meta/scala/MetaFunction.java b/sources/meta/scala/MetaFunction.java index 3bcf4cc4c6..4f8c441e72 100644 --- a/sources/meta/scala/MetaFunction.java +++ b/sources/meta/scala/MetaFunction.java @@ -38,7 +38,7 @@ public class MetaFunction extends AbstractJavaExpander { public void printClassScalaTParams() { for (int i = 0; i < arity; i++) writer.print("?A").print(i).print(", "); - writer.print("?R"); + writer.print("+ ?R"); } public void printApplyScalaSignature() { diff --git a/sources/meta/scalac/ast/Tree.java b/sources/meta/scalac/ast/Tree.java index 02bb466d08..d596549522 100644 --- a/sources/meta/scalac/ast/Tree.java +++ b/sources/meta/scalac/ast/Tree.java @@ -100,8 +100,7 @@ public class Tree { n_SelectFromType = node("SelectFromType", Type, HasSym), n_FunType = node("FunType" , Type, NoSym), n_CompoundType = node("CompoundType" , Type, NoSym), - n_AppliedType = node("AppliedType" , Type, NoSym), - n_CovariantType = node("CovariantType" , Type, NoSym); + n_AppliedType = node("AppliedType" , Type, NoSym); public final TreeNode[] nodes; public int arrays; @@ -323,11 +322,6 @@ public class Tree { addField(t_TypeTree, "tpe"). addField(t_TypeTrees, "args"); - n_CovariantType. - setDescription("Covariant type"). - setRange(Phase.PARSER, Phase.ANALYZER). - addField(t_TypeTree, "tpe"); - } //######################################################################## -- cgit v1.2.3