Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Add type error reporting #41

Merged
merged 7 commits into from Apr 25, 2022
Merged

Add type error reporting #41

merged 7 commits into from Apr 25, 2022

Conversation

mads256h
Copy link
Owner

@mads256h mads256h commented Apr 22, 2022

Add source location information to every node.
Make specific type error exceptions.
Make use of the location information in the exceptions.
Catch the exceptions in main and print error information as well as source location information.

@mads256h mads256h marked this pull request as draft April 22, 2022 12:33
@mads256h mads256h marked this pull request as ready for review April 22, 2022 14:27
@mads256h mads256h changed the title Add location information to every node Add type error reporting Apr 22, 2022
@mads256h mads256h mentioned this pull request Apr 23, 2022
Copy link
Collaborator

@andreasalstrup andreasalstrup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

@andreasalstrup andreasalstrup merged commit 329e6eb into master Apr 25, 2022
@andreasalstrup andreasalstrup deleted the location-info branch April 25, 2022 11:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants