From ad8efdf707109e357e7d5cbd241661d813921f6b Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Tue, 22 Mar 2011 14:31:36 +0000 Subject: 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 --- src/compiler/scala/tools/nsc/symtab/Types.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) = -- cgit v1.2.3