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 a585898 commit daef636Copy full SHA for daef636
compiler/src/dotty/tools/dotc/transform/patmat/Space.scala
@@ -72,7 +72,7 @@ sealed trait Space:
72
isSubspaceCache.getOrElseUpdate(b, computeIsSubspace(a, b))
73
}
74
75
- @sharable private var mySimplified: Space | Null = _
+ @sharable private var mySimplified: Space | Null = null
76
77
def simplify(using Context): Space =
78
val simplified = mySimplified
@@ -93,7 +93,7 @@ case object Empty extends Space
93
*
94
*/
95
case class Typ(tp: Type, decomposed: Boolean = true) extends Space:
96
- private var myDecompose: List[Typ] | Null = _
+ private var myDecompose: List[Typ] | Null = null
97
98
def canDecompose(using Context): Boolean = decompose != SpaceEngine.ListOfTypNoType
99
0 commit comments