blob: f9a66b29c153952881a6c5545d042091a39a7f34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
object Constants {
import scala.annotation.static
@static val Const: Int = 0 // should generate a static final field
@static final val FinalConst: Int = 0 // ditto
@static var MutableField: Int = 0 // should not be final
}
|