1
1
mirror of https://github.com/tweag/nickel.git synced 2024-10-04 23:27:15 +03:00
nickel/tests
Yann Hamdaoui 8775ece975
Forbid any unification between opaque types (contracts) (#769)
* 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.
2022-07-25 17:15:15 +02:00
..
destructuring Apply suggestions from code review 2022-01-12 17:50:12 +01:00
imports Fix test of cyclic imports 2021-11-08 15:22:27 +01:00
pass Forbid any unification between opaque types (contracts) (#769) 2022-07-25 17:15:15 +02:00
basics_fail.rs Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00
contracts_fail.rs Parse rec keyword after let 2022-04-21 15:22:44 +02:00
destructuring.rs Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00
examples.rs Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00
free_vars.rs Recursive let tests 2022-04-21 15:22:44 +02:00
imports.rs Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00
infinite_rec.rs Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00
merge_fail.rs Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00
pass.rs Syntax: add quote_in_identifier test 2022-06-20 14:35:39 +02:00
pretty.rs some cleaning 2022-05-13 19:44:57 +02:00
query.rs Add a few tests for wildcards 2022-06-13 17:29:04 +02:00
records_fail.rs Fix field without definition assigned null value 2022-05-20 18:09:42 +10:00
stdlib_arrays_fail.rs Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00
stdlib_typecheck.rs Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00
typecheck_fail.rs Remove TypeCheckOuput: type field is unused 2022-06-20 15:59:12 +02:00
unbound_type_variables.rs Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00