Skip to content
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

split arguments in trace_fn() #81

Merged
merged 1 commit into from
Sep 23, 2024
Merged

split arguments in trace_fn() #81

merged 1 commit into from
Sep 23, 2024

Conversation

rocky
Copy link
Member

@rocky rocky commented Sep 20, 2024

Historically mathics-core's trace function hook call back took a string; encoded in that was a line number.

This keeps the line number and text separate. In the Debugger this is more useful and allows for more semantic information to be passed as well as allows for formatting the line number and the text differently.

@rocky rocky requested a review from mmatera September 23, 2024 11:11
@rocky
Copy link
Member Author

rocky commented Sep 23, 2024

@mmatera As always, whenever you have a chance you can look over and comment as necessary. We'll adjust of fix up down the line.

@rocky rocky merged commit f1c0507 into master Sep 23, 2024
12 checks passed
@rocky rocky deleted the trace_fn-change branch September 23, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant