forked from rems-project/cerberus
-
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.
CN: Factor out WellTyped error messages
This commit also removes some duplication for ensure_base_type; but this raises another question - why are there _any_ base type checks in check.ml? Surely they are all redundant and signal an error in WellTyped.ml? As it turns out, integer promotions are not handled correctly... rems-project#272 ```c int main() { int size1 = sizeof(int); // <- works size1 = size1 + 1; // <- also works int size2 = sizeof(int) + 1; // <- fails } ```
- Loading branch information
Showing
17 changed files
with
520 additions
and
456 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
Oops, something went wrong.