Skip to content

Commit

Permalink
Seal Realizability
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaisorblade committed Jan 22, 2019
1 parent 0fd21b1 commit 413cfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/core/CheckRealizable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import collection.mutable
/** Realizability status */
object CheckRealizable {

abstract class Realizability(val msg: String) {
sealed abstract class Realizability(val msg: String) {
def andAlso(other: => Realizability): Realizability =
if (this == Realizable) other else this
def mapError(f: Realizability => Realizability): Realizability =
Expand Down

0 comments on commit 413cfda

Please sign in to comment.