Skip to content

Commit

Permalink
Added case to avoid compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers committed May 22, 2020
1 parent e2e75d3 commit bd503f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/viper/silver/parser/FastMessage.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ object FastMessage {
def apply(label: String, pos: ViperPosition): FastMessage = {
pos match {
case spos: SourcePosition => FastMessage(label, spos, true)
case _ => sys.error("Unexpected position type.")
}
}
}
Expand Down

0 comments on commit bd503f1

Please sign in to comment.