Files
kotlin/compiler/testData/codegen/boxWithJava/notNullAssertions/extensionReceiverParameter/Test.java
2015-10-19 16:03:16 +03:00

18 lines
403 B
Java
Vendored

public class Test {
public static String invokeFoo() {
try {
ExtensionKt.foo(null);
}
catch (IllegalArgumentException e) {
try {
ExtensionKt.getBar(null);
}
catch (IllegalArgumentException f) {
return "OK";
}
}
return "Fail: assertion must have been fired";
}
}