diff options
author | paltherr <paltherr@epfl.ch> | 2003-10-13 11:37:12 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-10-13 11:37:12 +0000 |
commit | a87e39db1f901094e959fd2121b5d7afe98a9c6c (patch) | |
tree | 8207ecca04dca5061cea847b11d4da1c8c2aaf07 /sources/scalac/typechecker/RefCheck.java | |
parent | dcd17960517da3ab64abba538f0ed7820f01cd6e (diff) | |
download | scala-a87e39db1f901094e959fd2121b5d7afe98a9c6c.tar.gz scala-a87e39db1f901094e959fd2121b5d7afe98a9c6c.tar.bz2 scala-a87e39db1f901094e959fd2121b5d7afe98a9c6c.zip |
- Replaced usage of make by gen
Diffstat (limited to 'sources/scalac/typechecker/RefCheck.java')
-rw-r--r-- | sources/scalac/typechecker/RefCheck.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/typechecker/RefCheck.java b/sources/scalac/typechecker/RefCheck.java index 6324eb8927..b1356c2826 100644 --- a/sources/scalac/typechecker/RefCheck.java +++ b/sources/scalac/typechecker/RefCheck.java @@ -842,7 +842,7 @@ public class RefCheck extends Transformer implements Modifiers, Kinds { private Tree elimTypeNode(Tree tree) { if (tree.isType() && !tree.isMissing()) - return make.TypeTerm(tree.pos).setType(tree.type); + return gen.mkType(tree.pos, tree.type); else return tree; } |