Home
last modified time | relevance | path

Searched full:eq (Results 1 – 25 of 257) sorted by relevance

1234567891011

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/comp_arr/
Dcomp-arr.params.yaml17 - { type: number, expr: "Double.POSITIVE_INFINITY", eq: "==" }
18 - { type: Number, expr: "new Double(Double.NEGATIVE_INFINITY)", eq: "==" }
19 - { type: byte, expr: "127", eq: "==" }
20 - { type: Byte, expr: "-128", eq: "==" }
21 - { type: short, expr: "32767", eq: "==" }
22 - { type: Short, expr: "-32768", eq: "==" }
23 - { type: int, expr: "2147483647", eq: "==" }
24 - { type: Int, expr: "-2147483648", eq: "==" }
25 - { type: long, expr: "9223372036854775807", eq: "==" }
26 - { type: Long, expr: "-9223372036854775808", eq: "==" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/call_meth/
Dcall-meth.params.yaml17 - { type: number, expr: "Double.POSITIVE_INFINITY", eq: "==" }
18 - { type: Number, expr: "new Double(Double.NEGATIVE_INFINITY)", eq: "==" }
19 - { type: byte, expr: "127", eq: "==" }
20 - { type: Byte, expr: "-128", eq: "==" }
21 - { type: short, expr: "32767", eq: "==" }
22 - { type: Short, expr: "-32768", eq: "==" }
23 - { type: int, expr: "2147483647", eq: "==" }
24 - { type: Int, expr: "-2147483648", eq: "==" }
25 - { type: long, expr: "9223372036854775807", eq: "==" }
26 - { type: Long, expr: "-9223372036854775808", eq: "==" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/call_func/
Dcall-func.params.yaml17 - { type: number, expr: "Double.POSITIVE_INFINITY", eq: "==" }
18 - { type: Number, expr: "new Double(Double.NEGATIVE_INFINITY)", eq: "==" }
19 - { type: byte, expr: "127", eq: "==" }
20 - { type: Byte, expr: "-128", eq: "==" }
21 - { type: short, expr: "32767", eq: "==" }
22 - { type: Short, expr: "-32768", eq: "==" }
23 - { type: int, expr: "2147483647", eq: "==" }
24 - { type: Int, expr: "-2147483648", eq: "==" }
25 - { type: long, expr: "9223372036854775807", eq: "==" }
26 - { type: Long, expr: "-9223372036854775808", eq: "==" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/decl_field/
Ddecl-field.params.yaml17 - { type: number, expr: "Double.POSITIVE_INFINITY", eq: "==" }
18 - { type: Number, expr: "new Double(Double.NEGATIVE_INFINITY)", eq: "==" }
19 - { type: byte, expr: "127", eq: "==" }
20 - { type: Byte, expr: "-128", eq: "==" }
21 - { type: short, expr: "32767", eq: "==" }
22 - { type: Short, expr: "-32768", eq: "==" }
23 - { type: int, expr: "2147483647", eq: "==" }
24 - { type: Int, expr: "-2147483648", eq: "==" }
25 - { type: long, expr: "9223372036854775807", eq: "==" }
26 - { type: Long, expr: "-9223372036854775808", eq: "==" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/decl_var/
Ddecl-var.params.yaml17 - { type: number, expr: "Double.POSITIVE_INFINITY", eq: "==" }
18 - { type: Number, expr: "new Double(Double.NEGATIVE_INFINITY)", eq: "==" }
19 - { type: byte, expr: "127", eq: "==" }
20 - { type: Byte, expr: "-128", eq: "==" }
21 - { type: short, expr: "32767", eq: "==" }
22 - { type: Short, expr: "-32768", eq: "==" }
23 - { type: int, expr: "2147483647", eq: "==" }
24 - { type: Int, expr: "-2147483648", eq: "==" }
25 - { type: long, expr: "9223372036854775807", eq: "==" }
26 - { type: Long, expr: "-9223372036854775808", eq: "==" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/call_lmbd/
Dcall-lmbd.params.yaml17 - { type: number, expr: "Double.POSITIVE_INFINITY", eq: "==" }
18 - { type: Number, expr: "new Double(Double.NEGATIVE_INFINITY)", eq: "==" }
19 - { type: byte, expr: "127", eq: "==" }
20 - { type: Byte, expr: "-128", eq: "==" }
21 - { type: short, expr: "32767", eq: "==" }
22 - { type: Short, expr: "-32768", eq: "==" }
23 - { type: int, expr: "2147483647", eq: "==" }
24 - { type: Int, expr: "-2147483648", eq: "==" }
25 - { type: long, expr: "9223372036854775807", eq: "==" }
26 - { type: Long, expr: "-9223372036854775808", eq: "==" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/assn_var/
Dassn-var.params.yaml17 - { type: number, expr: "Double.POSITIVE_INFINITY", eq: "==" }
18 - { type: Number, expr: "new Double(Double.NEGATIVE_INFINITY)", eq: "==" }
19 - { type: byte, expr: "127", eq: "==" }
20 - { type: Byte, expr: "-128", eq: "==" }
21 - { type: short, expr: "32767", eq: "==" }
22 - { type: Short, expr: "-32768", eq: "==" }
23 - { type: int, expr: "2147483647", eq: "==" }
24 - { type: Int, expr: "-2147483648", eq: "==" }
25 - { type: long, expr: "9223372036854775807", eq: "==" }
26 - { type: Long, expr: "-9223372036854775808", eq: "==" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/call_cons/
Dcall-cons.params.yaml17 - { type: number, expr: "Double.POSITIVE_INFINITY", eq: "==" }
18 - { type: Number, expr: "new Double(Double.NEGATIVE_INFINITY)", eq: "==" }
19 - { type: byte, expr: "127", eq: "==" }
20 - { type: Byte, expr: "-128", eq: "==" }
21 - { type: short, expr: "32767", eq: "==" }
22 - { type: Short, expr: "-32768", eq: "==" }
23 - { type: int, expr: "2147483647", eq: "==" }
24 - { type: Int, expr: "-2147483648", eq: "==" }
25 - { type: long, expr: "9223372036854775807", eq: "==" }
26 - { type: Long, expr: "-9223372036854775808", eq: "==" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/comp_obj/
Dcomp-obj.params.yaml17 - { type: number, expr: "Double.POSITIVE_INFINITY", eq: "==" }
18 - { type: Number, expr: "new Double(Double.NEGATIVE_INFINITY)", eq: "==" }
19 - { type: byte, expr: "127", eq: "==" }
20 - { type: Byte, expr: "-128", eq: "==" }
21 - { type: short, expr: "32767", eq: "==" }
22 - { type: Short, expr: "-32768", eq: "==" }
23 - { type: int, expr: "2147483647", eq: "==" }
24 - { type: Int, expr: "-2147483648", eq: "==" }
25 - { type: long, expr: "9223372036854775807", eq: "==" }
26 - { type: Long, expr: "-9223372036854775808", eq: "==" }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/decl_var/
Ddecl-var-un.params.yaml18 - { from_type: 'byte', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'short', ref_type: 'Long', expr: '-7', eq: '==' }
20 - { from_type: 'int', ref_type: 'Long', expr: '0xCAFE', eq: '==' }
21 - { from_type: 'long', ref_type: 'Long', expr: '0o777', eq: '==' }
25 - { from_type: 'Byte', ref_type: 'Byte', expr: '127', eq: '==' }
26 - { from_type: 'Short', ref_type: 'Short', expr: '-7', eq: '==' }
27 - { from_type: 'Int', ref_type: 'Int', expr: '0xCAFE', eq: '==' }
28 - { from_type: 'Long', ref_type: 'Long', expr: '0o777', eq: '==' }
32 - { from_type: 'float', ref_type: 'Double', expr: '3.5f', eq: '==' }
33 - { from_type: 'double', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/decl_field/
Ddecl-field-un.params.yaml18 - { from_type: 'byte', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'short', ref_type: 'Long', expr: '-7', eq: '==' }
20 - { from_type: 'int', ref_type: 'Long', expr: '0xCAFE', eq: '==' }
21 - { from_type: 'long', ref_type: 'Long', expr: '0o777', eq: '==' }
26 - { from_type: 'Byte', ref_type: 'Byte', expr: '127', eq: '==' }
27 - { from_type: 'Short', ref_type: 'Short', expr: '-7', eq: '==' }
28 - { from_type: 'Int', ref_type: 'Int', expr: '0xCAFE', eq: '==' }
29 - { from_type: 'Long', ref_type: 'Long', expr: '0o777', eq: '==' }
33 - { from_type: 'float', ref_type: 'Double', expr: '3.5f', eq: '==' }
34 - { from_type: 'double', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
[all …]
Ddecl-field-wd.params.yaml18 - { from_type: 'byte|short', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'int|byte', ref_type: 'Long', expr: '-128', eq: '==' }
20 - { from_type: 'long|short|byte', ref_type: 'Long', expr: '0o777', eq: '==' }
30 - { from_type: 'Byte|Long', expr: vByte, eq: '===' }
31 - { from_type: 'Short|Byte|Int', expr: vInt, eq: '===' }
32 - { from_type: 'Int|Short', expr: vShort, eq: '===' }
33 - { from_type: 'Long|Byte', expr: vLong, eq: '===' }
37 - { from_type: 'float|number', ref_type: 'Double', expr: '3.5f', eq: '==' }
38 - { from_type: 'double|float', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
39 - { from_type: 'number|double', ref_type: 'Double', expr: '1234567e8', eq: '==' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/comp_arr/
Dcomp-arr-un.params.yaml18 - { from_type: 'byte', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'short', ref_type: 'Long', expr: '-7', eq: '==' }
20 - { from_type: 'int', ref_type: 'Long', expr: '0xCAFE', eq: '==' }
21 - { from_type: 'long', ref_type: 'Long', expr: '0o777', eq: '==' }
25 - { from_type: 'Byte', ref_type: 'Byte', expr: '127', eq: '==' }
26 - { from_type: 'Short', ref_type: 'Short', expr: '-7', eq: '==' }
27 - { from_type: 'Int', ref_type: 'Int', expr: '0xCAFE', eq: '==' }
28 - { from_type: 'Long', ref_type: 'Long', expr: '0o777', eq: '==' }
32 - { from_type: 'float', ref_type: 'Double', expr: '3.5f', eq: '==' }
33 - { from_type: 'double', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
[all …]
Dcomp-arr-wd.params.yaml18 - { from_type: 'byte|short', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'int|byte', ref_type: 'Long', expr: '-128', eq: '==' }
20 - { from_type: 'long|short|byte', ref_type: 'Long', expr: '0o777', eq: '==' }
29 - { from_type: 'Byte|Long', expr: vByte, eq: '===' }
30 - { from_type: 'Short|Byte|Int', expr: vInt, eq: '===' }
31 - { from_type: 'Int|Short', expr: vShort, eq: '===' }
32 - { from_type: 'Long|Byte', expr: vLong, eq: '===' }
36 - { from_type: 'float|number', ref_type: 'Double', expr: '3.5f', eq: '==' }
37 - { from_type: 'double|float', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
38 - { from_type: 'number|double', ref_type: 'Double', expr: '1234567e8', eq: '==' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/assn_var/
Dassn-var-un.params.yaml18 - { from_type: 'byte', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'short', ref_type: 'Long', expr: '-7', eq: '==' }
20 - { from_type: 'int', ref_type: 'Long', expr: '0xCAFE', eq: '==' }
21 - { from_type: 'long', ref_type: 'Long', expr: '0o777', eq: '==' }
25 - { from_type: 'Byte', ref_type: 'Byte', expr: '127', eq: '==' }
26 - { from_type: 'Short', ref_type: 'Short', expr: '-7', eq: '==' }
27 - { from_type: 'Int', ref_type: 'Int', expr: '0xCAFE', eq: '==' }
28 - { from_type: 'Long', ref_type: 'Long', expr: '0o777', eq: '==' }
32 - { from_type: 'float', ref_type: 'Double', expr: '3.5f', eq: '==' }
33 - { from_type: 'double', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/call_lmbd/
Dcall-lmbd-un.params.yaml18 - { from_type: 'byte', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'short', ref_type: 'Long', expr: '-7', eq: '==' }
20 - { from_type: 'int', ref_type: 'Long', expr: '0xCAFE', eq: '==' }
21 - { from_type: 'long', ref_type: 'Long', expr: '0o777', eq: '==' }
25 - { from_type: 'Byte', ref_type: 'Byte', expr: '127', eq: '==' }
26 - { from_type: 'Short', ref_type: 'Short', expr: '-7', eq: '==' }
27 - { from_type: 'Int', ref_type: 'Int', expr: '0xCAFE', eq: '==' }
28 - { from_type: 'Long', ref_type: 'Long', expr: '0o777', eq: '==' }
32 - { from_type: 'float', ref_type: 'Double', expr: '3.5f', eq: '==' }
33 - { from_type: 'double', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
[all …]
Dcall-lmbd-wd.params.yaml18 - { from_type: 'byte|short', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'int|byte', ref_type: 'Long', expr: '-128', eq: '==' }
20 - { from_type: 'long|short|byte', ref_type: 'Long', expr: '0o777', eq: '==' }
29 - { from_type: 'Byte|Long', expr: vByte, eq: '===' }
30 - { from_type: 'Short|Byte|Int', expr: vInt, eq: '===' }
31 - { from_type: 'Int|Short', expr: vShort, eq: '===' }
32 - { from_type: 'Long|Byte', expr: vLong, eq: '===' }
36 - { from_type: 'float|number', ref_type: 'Double', expr: '3.5f', eq: '==' }
37 - { from_type: 'double|float', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
38 - { from_type: 'number|double', ref_type: 'Double', expr: '1234567e8', eq: '==' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/call_func/
Dcall-func-un.params.yaml18 - { from_type: 'byte', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'short', ref_type: 'Long', expr: '-7', eq: '==' }
20 - { from_type: 'int', ref_type: 'Long', expr: '0xCAFE', eq: '==' }
21 - { from_type: 'long', ref_type: 'Long', expr: '0o777', eq: '==' }
25 - { from_type: 'Byte', ref_type: 'Byte', expr: '127', eq: '==' }
26 - { from_type: 'Short', ref_type: 'Short', expr: '-7', eq: '==' }
27 - { from_type: 'Int', ref_type: 'Int', expr: '0xCAFE', eq: '==' }
28 - { from_type: 'Long', ref_type: 'Long', expr: '0o777', eq: '==' }
32 - { from_type: 'float', ref_type: 'Double', expr: '3.5f', eq: '==' }
33 - { from_type: 'double', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
[all …]
Dcall-func-wd.params.yaml18 - { from_type: 'byte|short', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'int|byte', ref_type: 'Long', expr: '-128', eq: '==' }
20 - { from_type: 'long|short|byte', ref_type: 'Long', expr: '0o777', eq: '==' }
29 - { from_type: 'Byte|Long', expr: vByte, eq: '===' }
30 - { from_type: 'Short|Byte|Int', expr: vInt, eq: '===' }
31 - { from_type: 'Int|Short', expr: vShort, eq: '===' }
32 - { from_type: 'Long|Byte', expr: vLong, eq: '===' }
36 - { from_type: 'float|number', ref_type: 'Double', expr: '3.5f', eq: '==' }
37 - { from_type: 'double|float', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
38 - { from_type: 'number|double', ref_type: 'Double', expr: '1234567e8', eq: '==' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/comp_obj/
Dcomp-obj-un.params.yaml18 - { from_type: 'byte', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'short', ref_type: 'Long', expr: '-7', eq: '==' }
20 - { from_type: 'int', ref_type: 'Long', expr: '0xCAFE', eq: '==' }
21 - { from_type: 'long', ref_type: 'Long', expr: '0o777', eq: '==' }
26 - { from_type: 'Byte', ref_type: 'Byte', expr: '127', eq: '==' }
27 - { from_type: 'Short', ref_type: 'Short', expr: '-7', eq: '==' }
28 - { from_type: 'Int', ref_type: 'Int', expr: '0xCAFE', eq: '==' }
29 - { from_type: 'Long', ref_type: 'Long', expr: '0o777', eq: '==' }
33 - { from_type: 'float', ref_type: 'Double', expr: '3.5f', eq: '==' }
34 - { from_type: 'double', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/call_meth/
Dcall-meth-un.params.yaml18 - { from_type: 'byte', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'short', ref_type: 'Long', expr: '-7', eq: '==' }
20 - { from_type: 'int', ref_type: 'Long', expr: '0xCAFE', eq: '==' }
21 - { from_type: 'long', ref_type: 'Long', expr: '0o777', eq: '==' }
25 - { from_type: 'Byte', ref_type: 'Byte', expr: '127', eq: '==' }
26 - { from_type: 'Short', ref_type: 'Short', expr: '-7', eq: '==' }
27 - { from_type: 'Int', ref_type: 'Int', expr: '0xCAFE', eq: '==' }
28 - { from_type: 'Long', ref_type: 'Long', expr: '0o777', eq: '==' }
32 - { from_type: 'float', ref_type: 'Double', expr: '3.5f', eq: '==' }
33 - { from_type: 'double', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
[all …]
Dcall-meth-wd.params.yaml18 - { from_type: 'byte|short', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'int|byte', ref_type: 'Long', expr: '-128', eq: '==' }
20 - { from_type: 'long|short|byte', ref_type: 'Long', expr: '0o777', eq: '==' }
29 - { from_type: 'Byte|Long', expr: vByte, eq: '===' }
30 - { from_type: 'Short|Byte|Int', expr: vInt, eq: '===' }
31 - { from_type: 'Int|Short', expr: vShort, eq: '===' }
32 - { from_type: 'Long|Byte', expr: vLong, eq: '===' }
36 - { from_type: 'float|number', ref_type: 'Double', expr: '3.5f', eq: '==' }
37 - { from_type: 'double|float', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
38 - { from_type: 'number|double', ref_type: 'Double', expr: '1234567e8', eq: '==' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/call_cons/
Dcall-cons-un.params.yaml18 - { from_type: 'byte', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'short', ref_type: 'Long', expr: '-7', eq: '==' }
20 - { from_type: 'int', ref_type: 'Long', expr: '0xCAFE', eq: '==' }
21 - { from_type: 'long', ref_type: 'Long', expr: '0o777', eq: '==' }
25 - { from_type: 'Byte', ref_type: 'Byte', expr: '127', eq: '==' }
26 - { from_type: 'Short', ref_type: 'Short', expr: '-7', eq: '==' }
27 - { from_type: 'Int', ref_type: 'Int', expr: '0xCAFE', eq: '==' }
28 - { from_type: 'Long', ref_type: 'Long', expr: '0o777', eq: '==' }
32 - { from_type: 'float', ref_type: 'Double', expr: '3.5f', eq: '==' }
33 - { from_type: 'double', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
[all …]
Dcall-cons-wd.params.yaml18 - { from_type: 'byte|short', ref_type: 'Long', expr: '127', eq: '==' }
19 - { from_type: 'int|byte', ref_type: 'Long', expr: '-128', eq: '==' }
20 - { from_type: 'long|short|byte', ref_type: 'Long', expr: '0o777', eq: '==' }
29 - { from_type: 'Byte|Long', expr: vByte, eq: '===' }
30 - { from_type: 'Short|Byte|Int', expr: vInt, eq: '===' }
31 - { from_type: 'Int|Short', expr: vShort, eq: '===' }
32 - { from_type: 'Long|Byte', expr: vLong, eq: '===' }
36 - { from_type: 'float|number', ref_type: 'Double', expr: '3.5f', eq: '==' }
37 - { from_type: 'double|float', ref_type: 'Double', expr: '-1.1E-20', eq: '==' }
38 - { from_type: 'number|double', ref_type: 'Double', expr: '1234567e8', eq: '==' }
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DlooseReferenceEquality.ets16 function eq(x: Object | null | undefined, y: Object | null | undefined) {
34 assertTrue(eq(e1, e2))
43 assertTrue(!eq(maxsafe * 4 + 1, maxsafe * 4))
44 assertTrue(eq(maxsafe * 4 + 1, Long.toDouble(maxsafe * 4)))
48 assertTrue(eq(null, null));
49 assertTrue(eq(null, undefined));
50 assertTrue(eq(undefined, null));
51 assertTrue(eq(undefined, undefined));
52 assertTrue(eq("abc", ((a: string, b: string): string => { return a + b })("a", "bc")));
53 assertTrue(eq(123n, ((a: bigint, b: bigint): bigint => { return a + b })(120n, 3n)));
[all …]

1234567891011