Support for user-defined Eq impls (#1730)

Related to #1549; user-defined equality is a prerequisite for user-defined comparison.
This commit is contained in:
Thejaswi Kadur
2022-07-30 11:51:39 -07:00
committed by GitHub
parent b988d5353c
commit 5665f32bf7
18 changed files with 237 additions and 23 deletions
-3
View File
@@ -14,9 +14,6 @@ package ExplorerTest api;
fn Main() -> i32 {
var empty: {} = {};
empty = {};
if (not (empty == {})) {
return 1;
}
match (empty) {
case {} => {
return 0;