Java to Kotlin conversion: fixed a few bugs related to modifiers
#KT-4424 Fixed
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
//file
|
||||
// !openByDefault: true
|
||||
|
||||
class A {
|
||||
void foo1() { }
|
||||
private void foo2(){}
|
||||
final void foo3(){}
|
||||
}
|
||||
|
||||
final class B {
|
||||
void foo(){}
|
||||
}
|
||||
|
||||
abstract class C {
|
||||
abstract void foo();
|
||||
}
|
||||
|
||||
interface I{
|
||||
void foo();
|
||||
}
|
||||
|
||||
class D implements I {
|
||||
@Override
|
||||
public void foo() { }
|
||||
}
|
||||
|
||||
enum E {
|
||||
int foo() { return 0; }
|
||||
}
|
||||
Reference in New Issue
Block a user