summaryrefslogtreecommitdiff
path: root/test/files/neg/t10068.check
blob: 2bb27c4fd87309a47c9b6c0a176152e58536fcc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
t10068.scala:5: error: i : Only methods can be marked @elidable.
  @elidable(INFO) val i: Int = 42
                      ^
t10068.scala:6: error: j: Only methods can be marked @elidable.
  @elidable(INFO) lazy val j: Int = 42
                           ^
t10068.scala:7: error: k : Only methods can be marked @elidable.
  @elidable(INFO) var k: Int = 42
                      ^
t10068.scala:9: error: D: Only methods can be marked @elidable.
@elidable(INFO) class D
                      ^
four errors found