[FIR] allow primary constructors in interfaces to support invalid code
KTIJ-23504
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
interface SimpleClass() : <expr>java.lang.Object()</expr>, I {
|
||||
fun foo() : String = "610" + toString()
|
||||
|
||||
override fun toString() : String { return foo() }
|
||||
}
|
||||
|
||||
interface I {}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
KtSuccessCallInfo:
|
||||
call = KtDelegatedConstructorCall:
|
||||
kind = SUPER_CALL
|
||||
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
||||
dispatchReceiver = null
|
||||
extensionReceiver = null
|
||||
signature = KtFunctionLikeSignature:
|
||||
receiverType = null
|
||||
returnType = java.lang.Object
|
||||
symbol = <constructor>(): java.lang.Object
|
||||
valueParameters = []
|
||||
callableIdIfNonLocal = null
|
||||
typeArgumentsMapping = {}
|
||||
argumentMapping = {}
|
||||
Reference in New Issue
Block a user