diff options
author | Martin Odersky <odersky@gmail.com> | 2003-08-21 10:30:27 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-08-21 10:30:27 +0000 |
commit | b227b272110f0654064632642c2ca1031e7c68c6 (patch) | |
tree | 747970915b10fc1eb9b80481c44052a3808fd08f /sources/scalac/typechecker/RefCheck.java | |
parent | 7b1200a4f4ecd1014055f65f384bd814754256b0 (diff) | |
download | scala-b227b272110f0654064632642c2ca1031e7c68c6.tar.gz scala-b227b272110f0654064632642c2ca1031e7c68c6.tar.bz2 scala-b227b272110f0654064632642c2ca1031e7c68c6.zip |
*** empty log message ***
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 08f1539eb8..e78d628631 100644 --- a/sources/scalac/typechecker/RefCheck.java +++ b/sources/scalac/typechecker/RefCheck.java @@ -292,7 +292,7 @@ public class RefCheck extends Transformer implements Modifiers, Kinds { /** The variance of symbol `base' relative to the class which defines `tvar'. */ int flip(Symbol base, Symbol tvar) { - Symbol clazz = tvar.owner().primaryConstructorClass(); + Symbol clazz = tvar.owner().constructorClass(); Symbol sym = base; int flip = CoVariance; while (sym != clazz && flip != AnyVariance) { |