{"ast_node_type":"other","tokens":[{"end":57,"kind":"keyword","start":0,"text":"if"}]}
            if !valid_input_activity(x.mode, *activity) {
        for (arg, activity) in sig.decl.inputs.iter().zip(x.input_activity.iter()) {
                dcx.emit_err(errors::AutoDiffInvalidApplicationModeAct {