diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-09-13 18:46:53 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-09-13 18:46:53 +1000 |
commit | a8a31e96dd115da09236a3d8f0d761f03db866fd (patch) | |
tree | b2e1406c418449e83a3b9c92309a7f9d75b66cef /src | |
parent | 87ca181e7b6874cce734a4a40f90fe4af2391d97 (diff) | |
download | scala-a8a31e96dd115da09236a3d8f0d761f03db866fd.tar.gz scala-a8a31e96dd115da09236a3d8f0d761f03db866fd.tar.bz2 scala-a8a31e96dd115da09236a3d8f0d761f03db866fd.zip |
SI-8844 Fix regression with existentials + type aliases
Regressed in 2a1b15e / SI-8283. Another specimen of an archetypal
bug: unwanted dealising by using `typeSymbol`, rather than
`typeSymbolDirect`.
Diffstat (limited to 'src')
-rw-r--r-- | src/reflect/scala/reflect/internal/Types.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/scala/reflect/internal/Types.scala b/src/reflect/scala/reflect/internal/Types.scala index f26315c538..a95f626a0b 100644 --- a/src/reflect/scala/reflect/internal/Types.scala +++ b/src/reflect/scala/reflect/internal/Types.scala @@ -2605,7 +2605,7 @@ trait Types // derived from the existentially quantified type into the typing environment // (aka \Gamma, which tracks types for variables and constraints/kinds for types) // as a nice bonus, delaying this until we need it avoids cyclic errors - def tpars = underlying.typeSymbol.initialize.typeParams + def tpars = underlying.typeSymbolDirect.initialize.typeParams def newSkolem(quant: Symbol) = owner.newExistentialSkolem(quant, origin) def newSharpenedSkolem(quant: Symbol, tparam: Symbol): Symbol = { |