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 9a96ce3 commit 539c203Copy full SHA for 539c203
compiler/src/dotty/tools/dotc/core/TyperState.scala
@@ -165,5 +165,6 @@ class TyperState(previous: TyperState /* | Null */) extends DotClass with Showab
165
166
override def toText(printer: Printer): Text = constraint.toText(printer)
167
168
- def hashesStr: String = hashCode.toString + " -> " + previous.hashesStr
+ def hashesStr: String =
169
+ if (previous == null) "" else hashCode.toString + " -> " + previous.hashesStr
170
}
0 commit comments