feat: explicit invalid syntax checks improvements #17

Merged
gk1623 merged 6 commits from more-explicit-invalid-syntax into master 2025-02-07 16:42:38 +00:00
gk1623 commented 2025-02-07 15:42:58 +00:00 (Migrated from gitlab.doc.ic.ac.uk)
  • Use .verifiedExplain instead of fail which:
    • Uses the correct position
    • Hides the check from showing as a potential result in other errors
  • Detect function declarations mid main body
  • Detect pointer operators
- Use `.verifiedExplain` instead of `fail` which: - Uses the correct position - Hides the check from showing as a potential result in other errors - Detect function declarations mid main body - Detect pointer operators
gk1623 commented 2025-02-07 16:22:15 +00:00 (Migrated from gitlab.doc.ic.ac.uk)

added 1 commit

  • 47382075 - refactor: make missing return type message more precise

Compare with previous version

added 1 commit <ul><li>47382075 - refactor: make missing return type message more precise</li></ul> [Compare with previous version](/lab2425_spring/WACC_37/-/merge_requests/17/diffs?diff_id=149040&start_sha=d32855cc293928b287bc3c4202396f2122ec4906)
al4423 commented 2025-02-07 16:28:02 +00:00 (Migrated from gitlab.doc.ic.ac.uk)

added 2 commits

  • 4bf63454 - fix: catch function call without keyword with parenscheck
  • cf661e6a - Merge remote-tracking branch 'origin/more-explicit-invalid-syntax' into...

Compare with previous version

added 2 commits <ul><li>4bf63454 - fix: catch function call without keyword with parenscheck</li><li>cf661e6a - Merge remote-tracking branch &#39;origin/more-explicit-invalid-syntax&#39; into...</li></ul> [Compare with previous version](/lab2425_spring/WACC_37/-/merge_requests/17/diffs?diff_id=149059&start_sha=4738207523be857b0a6c766406ee573c6f4619c5)
gc1523 commented 2025-02-07 16:42:34 +00:00 (Migrated from gitlab.doc.ic.ac.uk)

approved this merge request

approved this merge request
gc1523 commented 2025-02-07 16:42:38 +00:00 (Migrated from gitlab.doc.ic.ac.uk)

mentioned in commit 4ac7917715

mentioned in commit 4ac79177158b3c93ecfa23a0ffacdcb4f916162f
gc1523 (Migrated from gitlab.doc.ic.ac.uk) merged commit 4ac7917715 into master 2025-02-07 16:42:38 +00:00
gc1523 (Migrated from gitlab.doc.ic.ac.uk) approved these changes 2025-10-16 16:43:49 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Imperial-MEng/WACC_37#17
No description provided.