summaryrefslogtreecommitdiff
path: root/test/files/pos/tcpoly_subst.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/tcpoly_subst.scala')
-rw-r--r--test/files/pos/tcpoly_subst.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/tcpoly_subst.scala b/test/files/pos/tcpoly_subst.scala
index f8ddb9a715..88cc4d0610 100644
--- a/test/files/pos/tcpoly_subst.scala
+++ b/test/files/pos/tcpoly_subst.scala
@@ -1,4 +1,4 @@
object test {
- def make[m[x], b]: m[b] = error("foo")
+ def make[m[x], b]: m[b] = sys.error("foo")
val lst: List[Int] = make[List, Int]
}