blob: 80aebcd406e4383270cb1955efbe1a24ac6cf8db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
static-annot.scala:8: error: Only members of top-level objects and their nested objects can be annotated with @static.
@static val bar = 1
^
static-annot.scala:27: error: @static annotated field bar has the same name as a member of class Conflicting
@static val bar = 1
^
static-annot.scala:14: error: Only members of top-level objects and their nested objects can be annotated with @static.
@static val blah = 2
^
three errors found
|