summaryrefslogtreecommitdiff
path: root/test/files/neg/t6988.check
blob: acb7b3cb082dabdc7c858c803523ec25b4c0b5c5 (plain) (blame)
1
2
3
4
5
6
7
t6988.scala:3: error: annotation argument needs to be a constant; found: 13.asInstanceOf[Long]
@SerialVersionUID(13.asInstanceOf[Long]) case class IdentifyMessage1(userName: String, user: User, code: Int)
                                 ^
t6988.scala:8: error: annotation argument needs to be a constant; found: O.SerialUID
@SerialVersionUID(O.SerialUID) case class IdentifyMessage3(userName: String, user: User, code: Int)
                    ^
two errors found