Skip to content

Commit

Permalink
feat(objectionary#3744): fix several parsing error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Jan 15, 2025
1 parent b496bb1 commit 3bfbc80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@
# SOFTWARE.
---
line: 2
message: >-
message: |-
[2:4] error: 'Invalid objects declaration that may be used inside abstract object'
y:^
^
[3:-1] error: 'Unexpected part of the program'
EOF
^^^
input: |
x
y:^
y:^
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ message: |-
[2:0] error: 'Atom must have a type'
[] > a [] > b [] > c [] > d hello world
^^^^^^^
[2:7] error: 'mismatched input '[' expecting '/''
[] > a [] > b [] > c [] > d hello world
^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ line: 4
# The error message should be more informative and should highlight the exact location
# of the error.
message: |+
[4:0] error: 'Invalid program declaration'
[4:0] error: 'Unexpected part of the program'
input: |
# No comments.
Expand Down

0 comments on commit 3bfbc80

Please sign in to comment.