-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup ConstValue::predicate, improve ConstTypeErrors, add tests (#257)
* Fix ConstValue::predicate, must provide the value * Temporarily assert value matches the Sum type until #231 fixed * Remove SimpleType::new_unit * Fix some ConstTypeErrors for F64 and containers * Add tests of typecheck_const and ConstValue::predicate... * including one [should_panic] documenting failure wrt #231
- Loading branch information
Showing
3 changed files
with
143 additions
and
18 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