-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use errortrace-key instead of DrRacket's own key. #679
base: master
Are you sure you want to change the base?
Conversation
This is so we can pick it up in the teaching languages for reporting error locations.
(The ensuing changes in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resyntax analyzed 6 files in this pull request and found no issues.
Mike and I just talked in person about this -- this may be the best (only?) way to make this change, but it is possible that DrRacket can avoid instantiating the errortrace unit entirely and just use various the handlers from errortrace directly. It is also possible that DrRacket has to instantiate the unit itself for some reason but, if so, it would be good to be sure that the information that's put into the marks is all in the same format as what errortrace does, to make other uses of that information just work. |
It’s interesting how this change is essentially “just” a “key change” for cont marks.
(What’s the lesson for aspiring sw devs?)
|
|
@rfindler Could you take another look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resyntax analyzed 6 files in this pull request and found no issues.
The drracket tests seem to pass. The word "alligned" isn't spelled right. And probably that comment could be clearer. We probably also need a test case. The test probably should ensure that the format of the marks is the same as errortrace's format by requiring errortrace and calling a function. Here's some code that passes when run at the command-line with errortrace enabled and fails when it doesn't. How does that look as the start of a test case for drr?
|
This is so we can pick it up in the teaching languages for reporting error locations.
As discussed with Robby at ICFP.