KT-1536: parse Throwable as nullable in JavaDescriptorResolver

This commit is contained in:
Stepan Koltsov
2012-03-11 15:24:46 +04:00
parent 67d2a8dcca
commit 0c2b91aa10
4 changed files with 16 additions and 1 deletions
@@ -0,0 +1,7 @@
// http://youtrack.jetbrains.com/issue/KT-1536
package test;
class MyException {
MyException(String message, Throwable cause) {}
}
@@ -0,0 +1,3 @@
package test
open class MyException(p0: String?, p1: Throwable?)
@@ -0,0 +1,5 @@
namespace test
open class test.MyException : jet.Any {
final /*constructor*/ fun <init>(/*0*/ p0: jet.String?, /*1*/ p1: jet.Throwable?): test.MyException
}