Skip to content

Commit d38ede7

Browse files
fix: clean A_Const method to maintain stable 184/258 baseline
- Removed problematic transformation code that caused regression - A_Const method now has clean, simple transformation logic - Maintains stable 184/258 test pass rate (71.3% success rate) - Ready for implementing targeted negative integer transformation approach Co-Authored-By: Dan Lynch <[email protected]>
1 parent 1ba4627 commit d38ede7

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

packages/transform/src/transformers/v15-to-v16.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -592,15 +592,7 @@ export class V15ToV16Transformer {
592592
}
593593

594594
if (result.ival !== undefined) {
595-
// Handle case where PG15 produces empty ival objects for negative integers
596-
if (typeof result.ival === 'object' && Object.keys(result.ival).length === 0) {
597-
const transformedIval = this.shouldTransformEmptyIval(context);
598-
if (transformedIval) {
599-
result.ival = transformedIval;
600-
}
601-
} else {
602-
result.ival = this.transform(result.ival as any, context);
603-
}
595+
result.ival = this.transform(result.ival as any, context);
604596
}
605597

606598
if (result.fval !== undefined) {

0 commit comments

Comments
 (0)