Errors in errors: line numbers are going awry #11
Labels
No Label
accepted
bug
clj
documentation
enhancement
errors
infrastructure
later
next
now
optimization
proposal
question
research
semantics
syntax
ux
vm
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: twc/ludus#11
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
In Ludus-web (but I think this is a Ludus problem), we're getting some strange line number errors when reporting out panics due to mismatching patterns.
Case: a bare script with
range (0, 1, 2, 3)
.Expected: No match! on line 1... to Ludus console.
Got: Error in JS console
Why are we looking for line 813?
It is at least worth noting that this input consistently produces the search for line 813.
Fixed: the error was looking for the line number in the AST/token of the function that is called, not the callsite. Fixed, npm version bumped, published to npm as 0.1.0-alpha.7.7.