summaryrefslogtreecommitdiff
path: root/test/files/neg/gadts1.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/gadts1.check')
-rw-r--r--test/files/neg/gadts1.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/gadts1.check b/test/files/neg/gadts1.check
index a61231a27a..9b7ea5556a 100644
--- a/test/files/neg/gadts1.check
+++ b/test/files/neg/gadts1.check
@@ -1,6 +1,6 @@
-gadts1.scala:20: error: class Cell of type Test.Cell does not take type parameters.
+gadts1.scala:20: error: Test.Cell[a] does not take parameters
case Cell[a](x: Int) => c.x = 5
- ^
+ ^
gadts1.scala:20: error: type mismatch;
found : Int(5)
required: a