[SERVER-50498] Do something reasonable when error()ing on a non-terminal rather than invarianting Created: 24/Aug/20 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jacob Evans | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | PM-1749-find-milestone, PM-1749-stability, qopt-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Participants: |
| Description |
|
Currently we invariant() when an error is produced for a non-terminal position in the grammar. It would be great if we could get these errors to derive the correct position information but we should at least stop them from crashing. |