mirror of
https://github.com/tweag/nickel.git
synced 2024-10-04 23:27:15 +03:00
8775ece975
* Forbid any unification between opaque types (contracts) Fix previously unsound behavior where the typechecker would use the name of the contract to decide equality (but names are local, so the same names may stem from different definitions made at two different locations). In waiting for a proper type equality between contracts, this commit just make the typechecker reject any unification involving a contract, with a detailed error message. |
||
---|---|---|
.. | ||
destructuring | ||
imports | ||
pass | ||
basics_fail.rs | ||
contracts_fail.rs | ||
destructuring.rs | ||
examples.rs | ||
free_vars.rs | ||
imports.rs | ||
infinite_rec.rs | ||
merge_fail.rs | ||
pass.rs | ||
pretty.rs | ||
query.rs | ||
records_fail.rs | ||
stdlib_arrays_fail.rs | ||
stdlib_typecheck.rs | ||
typecheck_fail.rs | ||
unbound_type_variables.rs |