Java to Kotlin conversion: fixed a few bugs related to modifiers

#KT-4424 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-03 22:43:43 +04:00
parent ef8504eb39
commit 7c2473a5ef
15 changed files with 88 additions and 67 deletions
@@ -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; }
}