diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2011-03-22 14:31:36 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2011-03-22 14:31:36 +0000 |
commit | ad8efdf707109e357e7d5cbd241661d813921f6b (patch) | |
tree | 5ab2bb4e919fad6b9f8b80c531083e000b15101d /src | |
parent | fed7729dbb708ea2e1d138e79e20b9ec9bdbe3fd (diff) | |
download | scala-ad8efdf707109e357e7d5cbd241661d813921f6b.tar.gz scala-ad8efdf707109e357e7d5cbd241661d813921f6b.tar.bz2 scala-ad8efdf707109e357e7d5cbd241661d813921f6b.zip |
closes #4205: quick&dirty fix to force loading ...
closes #4205: quick&dirty fix to force loading of info's and thus avoid
order-dependency until we fix unsafeTypeParams for good. no review
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Types.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Types.scala b/src/compiler/scala/tools/nsc/symtab/Types.scala index fd86fb7345..3e41df45f8 100644 --- a/src/compiler/scala/tools/nsc/symtab/Types.scala +++ b/src/compiler/scala/tools/nsc/symtab/Types.scala @@ -5618,6 +5618,7 @@ A type's typeSymbol should never be inspected directly. val errors = new ListBuffer[(Type, Symbol, List[(Symbol, Symbol)], List[(Symbol, Symbol)], List[(Symbol, Symbol)])] (tparams zip targs).foreach{ case (tparam, targ) if (targ.isHigherKinded || !tparam.typeParams.isEmpty) => // @M must use the typeParams of the type targ, not the typeParams of the symbol of targ!! + targ.typeSymbolDirect.info // force symbol load for #4205 val tparamsHO = targ.typeParams val (arityMismatches, varianceMismatches, stricterBounds) = |