Fix SAM wrapper generation in secondary constructor calls
Should simply invoke 'checkSamCall' in corresponding visitor method to check if call arguments should be wrapped.
This commit is contained in:
+2
@@ -648,6 +648,8 @@ class CodegenAnnotatingVisitor extends KtVisitorVoid {
|
||||
@Override
|
||||
public void visitConstructorDelegationCall(@NotNull KtConstructorDelegationCall call) {
|
||||
withinUninitializedClass(call, () -> super.visitConstructorDelegationCall(call));
|
||||
|
||||
checkSamCall(call);
|
||||
}
|
||||
|
||||
private void withinUninitializedClass(@NotNull KtElement element, @NotNull Runnable operation) {
|
||||
|
||||
Reference in New Issue
Block a user