We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b37350 commit 2517d2dCopy full SHA for 2517d2d
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -117,9 +117,10 @@ object Types {
117
case t: TypeRef =>
118
!t.currentSymbol.isStatic && {
119
(t: Type).mightBeProvisional = false // break cycles
120
- t.symbol.is(Provisional)
+ t.symbol.flagsUNSAFE.is(Provisional)
121
|| test(t.prefix, theAcc)
122
- || t.info.match
+ || t.denot.infoOrCompleter.match
123
+ case info: LazyType => true
124
case info: AliasingBounds => test(info.alias, theAcc)
125
case TypeBounds(lo, hi) => test(lo, theAcc) || test(hi, theAcc)
126
case _ => false
0 commit comments