qualify access to static members
This commit is contained in:
committed by
Pavel V. Talanov
parent
21b280f413
commit
c7113e143a
@@ -0,0 +1,7 @@
|
||||
import java.util.Calendar
|
||||
|
||||
abstract class MyCalendar extends Calendar {
|
||||
public void foo() {
|
||||
int i = ALL_STYLES;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import java.util.Calendar
|
||||
abstract class MyCalendar() : Calendar() {
|
||||
public open fun foo() : Unit {
|
||||
var i : Int = Calendar.ALL_STYLES
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user