blob: a9a60ab697b393e12d97a046075f6c3dd656c1bd (
plain) (
blame)
1
2
3
4
5
|
volatile_no_override.scala:13: error: overriding value x in class A of type Volatile.this.D;
value x has a volatile type; cannot override a member with non-volatile type
val x: A with D = null
^
one error found
|