Java to Kotlin converter: no more 2 conversion modes for each test, just a few tests to test non-standard settings
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
//file
|
||||
// !forceNotNullTypes: false
|
||||
// !specifyLocalVariableTypeByDefault: true
|
||||
class Library {
|
||||
void call() {}
|
||||
|
||||
String getString() { return ""; }
|
||||
}
|
||||
|
||||
class User {
|
||||
void main() {
|
||||
Library lib = new Library();
|
||||
lib.call();
|
||||
lib.getString().isEmpty();
|
||||
|
||||
new Library().call();
|
||||
new Library().getString().isEmpty();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user