cgen: fix gen_array_equality_fn() (#7633)

This commit is contained in:
yuyi 2020-12-28 18:26:50 +08:00 committed by GitHub
parent 164dd3000b
commit 07459a77e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 25 deletions

View file

@ -691,13 +691,6 @@ fn test_array_str() {
// assert numbers2.str() == '[[1, 2, 3], [4, 5, 6]]'
}
fn test_eq() {
/*
assert [5, 6, 7].eq([6, 7]) == false
assert [`a`, `b`].eq([`a`, `b`]) == true
*/
}
struct User {
age int
name string