forked from anko/eslisp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strict AST validity checking, at end of compile
AST errors were previously only being checked when a list was compiled to a macro. This meant that a whole lot of otherwise illegal cases were not caught. An error wouldn't be thrown either, allowing the erroneous result to pass to stdout. This was handy when everything was unstable, because errors would be everywhere. But with stuff having stabilised more recently, it starts to make sense to check properly. The test changes are necessary to pass the more rigorous checks. Most of them are pedantic stuff that aren't really relevant to the thing being tested, like return statements having to be inside functions always, and such.
- Loading branch information
Showing
5 changed files
with
41 additions
and
42 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
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
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