Rename *.jet -> *.kt in codegen tests
This commit is contained in:
committed by
Alexander Udalov
parent
b0aa094cf8
commit
99827d10a8
@@ -0,0 +1,9 @@
|
||||
fun foo(s: String): String? {
|
||||
try {
|
||||
Integer.parseInt(s);
|
||||
return "no message";
|
||||
}
|
||||
catch(e: NumberFormatException) {
|
||||
return (e : Throwable).getMessage(); // Work around an overload-resolution bug
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user