Commit 7a716e5
committed
fix: improve error message for unsupported sqlpage function arguments
Update expr_to_stmt_param to correctly bubble up UnsupportedExpr errors with the summary of the larger compound expression. This ensures the error message shows the full expression (like 'x || c') instead of just the inner leaf node ('x').1 parent 003f3e0 commit 7a716e5
1 file changed
+13
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
| 422 | + | |
| 423 | + | |
427 | 424 | | |
428 | 425 | | |
429 | 426 | | |
| |||
446 | 443 | | |
447 | 444 | | |
448 | 445 | | |
449 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
450 | 456 | | |
451 | 457 | | |
452 | 458 | | |
| |||
0 commit comments