We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd21b1 commit 413cfdaCopy full SHA for 413cfda
compiler/src/dotty/tools/dotc/core/CheckRealizable.scala
@@ -10,7 +10,7 @@ import collection.mutable
10
/** Realizability status */
11
object CheckRealizable {
12
13
- abstract class Realizability(val msg: String) {
+ sealed abstract class Realizability(val msg: String) {
14
def andAlso(other: => Realizability): Realizability =
15
if (this == Realizable) other else this
16
def mapError(f: Realizability => Realizability): Realizability =
0 commit comments