@@ -7,7 +7,7 @@ import dotc.core.Constants.Constant
7
7
import dotc .core .Contexts .Context
8
8
import dotc .core .Denotations .{ Denotation , MultiDenotation , SingleDenotation }
9
9
import dotc .core .Flags ._
10
- import dotc .core .TypeApplications .{ AppliedType , EtaExpansion }
10
+ import dotc .core .TypeApplications .{ AnyAppliedType , EtaExpansion }
11
11
import dotc .core .Names ._
12
12
import dotc .core .NameOps ._
13
13
import dotc .core .StdNames ._
@@ -105,7 +105,7 @@ class UserFacingPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
105
105
}
106
106
case EtaExpansion (tycon) => toText(tycon)
107
107
case PolyType (params, res) =>
108
- " [" ~ Fluid (params.map(tl => toText(tl.toArg )).intersperse(Str (" , " ))) ~ " ]" ~ toText(res)
108
+ " [" ~ Fluid (params.map(tl => toText(tl.paramRef )).intersperse(Str (" , " ))) ~ " ]" ~ toText(res)
109
109
case tp : MethodType => {
110
110
def paramText (name : TermName , tp : Type ) = toText(name) ~ " : " ~ toText(tp)
111
111
changePrec(GlobalPrec ) {
@@ -115,7 +115,7 @@ class UserFacingPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
115
115
toText(tp.resultType)
116
116
}
117
117
}
118
- case AppliedType (tycon, args) => {
118
+ case AnyAppliedType (tycon, args) => {
119
119
def toTextInfixType (tycon : Type , args : List [Type ]): Text = {
120
120
// TODO: blatant copy from `RefinedPrinter`
121
121
val l :: r :: Nil = args
0 commit comments