diff options
author | paltherr <paltherr@epfl.ch> | 2003-07-11 12:33:10 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-07-11 12:33:10 +0000 |
commit | 58ed80c61d89874450b44a51cdff9a36a81dc1ca (patch) | |
tree | 7131c6cb015a11e590ecac7c81a45e9e872dbdc0 /sources/scalac/typechecker/Infer.java | |
parent | cda6f17ef0fedccf3f199dcaf3900c0e50bfcb35 (diff) | |
download | scala-58ed80c61d89874450b44a51cdff9a36a81dc1ca.tar.gz scala-58ed80c61d89874450b44a51cdff9a36a81dc1ca.tar.bz2 scala-58ed80c61d89874450b44a51cdff9a36a81dc1ca.zip |
- Fixed mkTypeApply for the new LazyConstrMetho...
- Fixed mkTypeApply for the new LazyConstrMethodType
Diffstat (limited to 'sources/scalac/typechecker/Infer.java')
-rw-r--r-- | sources/scalac/typechecker/Infer.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sources/scalac/typechecker/Infer.java b/sources/scalac/typechecker/Infer.java index 2149e35e1a..e79fc21990 100644 --- a/sources/scalac/typechecker/Infer.java +++ b/sources/scalac/typechecker/Infer.java @@ -699,8 +699,6 @@ public class Infer implements Modifiers, Kinds { public Tree mkTypeApply(Tree tree, Symbol[] tparams, Type restype, Type[] targs) { Tree tree1 = tree; Symbol sym = tree.symbol(); - if (sym != null && sym.isCaseFactory()) - sym = sym.type().resultType().symbol().constructor(); int i = 0; while (i < tparams.length && tparams[i].owner() == sym) i++; |