Skip to content

Commit 61d26b9

Browse files
committed
Seal Realizability
1 parent 6e21f42 commit 61d26b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/CheckRealizable.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import ast.tpd._
1414
/** Realizability status */
1515
object CheckRealizable {
1616

17-
abstract class Realizability(val msg: String) {
17+
sealed abstract class Realizability(val msg: String) {
1818
def andAlso(other: => Realizability) =
1919
if (this == Realizable) other else this
2020
def mapError(f: Realizability => Realizability) =

0 commit comments

Comments
 (0)