File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/reflect/scala/reflect/internal Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2605,7 +2605,7 @@ trait Types
2605
2605
// derived from the existentially quantified type into the typing environment
2606
2606
// (aka \Gamma, which tracks types for variables and constraints/kinds for types)
2607
2607
// as a nice bonus, delaying this until we need it avoids cyclic errors
2608
- def tpars = underlying.typeSymbol .initialize.typeParams
2608
+ def tpars = underlying.typeSymbolDirect .initialize.typeParams
2609
2609
2610
2610
def newSkolem (quant : Symbol ) = owner.newExistentialSkolem(quant, origin)
2611
2611
def newSharpenedSkolem (quant : Symbol , tparam : Symbol ): Symbol = {
Original file line number Diff line number Diff line change
1
+ object Example {
2
+ type S [A ] = String
3
+ def foo (s : S [_]): String = s
4
+ }
You can’t perform that action at this time.
0 commit comments