-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some dubious hacks to get appropriate errors
These build on the smell of hacks from the previous commit to make this class a bit smelly. This adds some work arounds to get appropriate error messages for nodes that could be one of two types. Should we need more usage of this we probably want to refactor aspects of the ObjectFactory code to be able to handle dual types and the TypeChecker.
- Loading branch information
Showing
2 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters