Commit 29d7d85
feat: add ObjectWithArgs objfuncargs transformation for CommentStmt contexts
- Create objfuncargs from objargs in CommentStmt contexts for PG14 compatibility
- Add shouldCreateObjfuncargsFromObjargs helper method
- Add createFunctionParameterFromTypeName helper to convert TypeName to FunctionParameter
- Transform objargs into FunctionParameter objects with mode FUNC_PARAM_DEFAULT
This addresses test failures where PG14 expects objfuncargs array in CommentStmt ObjectWithArgs nodes.
Co-Authored-By: Dan Lynch <[email protected]>1 parent 5a420d5 commit 29d7d85
1 file changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
| 1198 | + | |
1198 | 1199 | | |
1199 | 1200 | | |
1200 | 1201 | | |
1201 | 1202 | | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
1202 | 1207 | | |
1203 | 1208 | | |
1204 | 1209 | | |
| |||
1243 | 1248 | | |
1244 | 1249 | | |
1245 | 1250 | | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
1246 | 1276 | | |
1247 | 1277 | | |
1248 | 1278 | | |
| |||
0 commit comments