blob: a61231a27ad9523d664372618c490af94d269c44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
gadts1.scala:20: error: class Cell of type Test.Cell does not take type parameters.
case Cell[a](x: Int) => c.x = 5
^
gadts1.scala:20: error: type mismatch;
found : Int(5)
required: a
case Cell[a](x: Int) => c.x = 5
^
two errors found
|