resolveConstructorWithDefaults

fun resolveConstructorWithDefaults(constructExpression: ConstructExpression, signature: List<Type?>, recordDeclaration: RecordDeclaration): ConstructorDeclaration?

Return

a ConstructDeclaration that matches with the signature of the ConstructExpression with added default arguments. The default arguments are added to the arguments edge of the ConstructExpression

Parameters

constructExpression

we want to find an invocation target for

signature

of the ConstructExpression (without defaults)

recordDeclaration

associated with the Object the ConstructExpression constructs