mirror of https://github.com/tbklang/tlang.git
🐞 Bugfix: expect(string) should throw ParserException atleast #147
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 18 minutes 7 seconds
Due Date
deavmi
18 minutes 7 seconds
Dependencies
No dependencies set.
Reference: tlang/tlang#147
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is this?
The
expect(SymbolType, Token)
throwsSyntaxError
(which is a kind-ofParserException
. However,expect(string)
throwsTError
(actual type).expect(string)
's behaviourstatic
expect(string)
for (as they relied on astatic
version ofParser
'sexpect(string)
:vardec_varass_dependencyto hotfix/expect_exception_changeexpect(string) should throw ParserException atleastto 🐞 Bugfix: expect(string) should throw ParserException atleastLooks good to me 👍 , going to merge...
We get the expected errors on
vardec_varasss_dependency
✅ . Closing as completed 🕶️