Pseudocode: Generate instructions for callable reference expressions
This commit is contained in:
@@ -1414,6 +1414,12 @@ public class JetControlFlowProcessor {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void visitCallableReferenceExpression(@NotNull JetCallableReferenceExpression expression) {
|
||||
mark(expression);
|
||||
createNonSyntheticValue(expression, MagicKind.CALLABLE_REFERENCE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void visitJetElement(@NotNull JetElement element) {
|
||||
builder.unsupported(element);
|
||||
|
||||
+1
@@ -139,6 +139,7 @@ public enum class MagicKind {
|
||||
NOT_NULL_ASSERTION
|
||||
EQUALS_IN_WHEN_CONDITION
|
||||
IS
|
||||
CALLABLE_REFERENCE
|
||||
// implicit operations
|
||||
LOOP_RANGE_ITERATION
|
||||
IMPLICIT_RECEIVER
|
||||
|
||||
Reference in New Issue
Block a user