summaryrefslogtreecommitdiff
path: root/test/files/pos/spec-asseenfrom.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/spec-asseenfrom.scala')
-rw-r--r--test/files/pos/spec-asseenfrom.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/pos/spec-asseenfrom.scala b/test/files/pos/spec-asseenfrom.scala
index cf20fc5ffa..ede5791709 100644
--- a/test/files/pos/spec-asseenfrom.scala
+++ b/test/files/pos/spec-asseenfrom.scala
@@ -1,8 +1,8 @@
-class Automaton[@specialized(Double) W,State] {
+class Automaton[@specialized(Double) W,State] {
- def finalWeight(s: State): W = error("todo");
+ def finalWeight(s: State): W = sys.error("todo");
- def allStates: Set[State] = error("toodo");
+ def allStates: Set[State] = sys.error("toodo");
/**
* Returns a map from states to its final weight. may expand all nodes.