-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flambda-backend: Allow forceful crossing of portability and contention (
#2725) * Add basic tests * Add -allow-illegal-crossing flag * Implement for records, variants, and private types, and update tests * Fix bug causing types to always cross * Add more tests * Fix types with abbrev and manifest * Remove comment about module signatures * Add more tests for illegal crossing in signatures * Add tests demonstrating that values can't cross illegally * Remove no-op annotations * Treat private types as non-nominative * Print annotations when there is illegal crossing * Remove incorrect test * Add test demonstrating incorrect inference for type parameter * Fix test numbering * Fix inference test * Add cr to remove type_has_illegal_crossings * Update note about printing jkinds * Add comment for printing case C1.3 * Fixed incorrect type_has_illegal_crossings value * Fix test for inferring 'a * Rename allow-illegal-crossing.ml to allow_illegal_crossing.ml * Add tests for mode crossing
- Loading branch information
Showing
18 changed files
with
1,172 additions
and
6 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.