mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
Dropping package facades:
- light classes: do not generate light class for package facade - drop package facades as multifile classes compilation mode support - get rid of some additional package facade fqName usages - update tests for light classes
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import test.TestPackage;
|
||||
package test;
|
||||
|
||||
// Check absence of 'Static method reference via subclass warning' for kotlin usages
|
||||
public class UsingKotlinPackageDeclarations {
|
||||
public static int test() {
|
||||
TestPackage.foo();
|
||||
TestPackage.setBar(15);
|
||||
return TestPackage.getBar();
|
||||
UsingKotlinPackageDeclarationsKt.foo();
|
||||
UsingKotlinPackageDeclarationsKt.setBar(15);
|
||||
return UsingKotlinPackageDeclarationsKt.getBar();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user