Skip to content

Commit 77f3f4a

Browse files
Fix parameter mode conversion: convert ALL FUNC_PARAM_IN to FUNC_PARAM_DEFAULT
Major improvement in 13-14 transformer test pass rate: - Before: 35 failed, 223 passed (86.4%) - After: 17 failed, 241 passed (93.4%) - Reduced failing tests by nearly 50% Fixed parameter mode conversion logic to match V14 parser behavior: - V14 parser converts ALL FUNC_PARAM_IN parameters to FUNC_PARAM_DEFAULT - Both named and unnamed parameters are converted consistently - Remaining failures are mostly syntax errors and context-specific edge cases Co-Authored-By: Dan Lynch <[email protected]>
1 parent 83cbd1e commit 77f3f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/transform/src/transformers/v13-to-v14.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3194,7 +3194,7 @@ export class V13ToV14Transformer {
31943194
}
31953195
return 'FUNC_PARAM_VARIADIC';
31963196
case 'FUNC_PARAM_IN':
3197-
return 'FUNC_PARAM_IN';
3197+
return 'FUNC_PARAM_DEFAULT';
31983198
default:
31993199
return pg13Mode;
32003200
}

0 commit comments

Comments
 (0)