| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/comp_arr/ |
| D | comp-arr.params.yaml | 17 - { 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/ |
| D | call-meth.params.yaml | 17 - { 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/ |
| D | call-func.params.yaml | 17 - { 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/ |
| D | decl-field.params.yaml | 17 - { 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/ |
| D | decl-var.params.yaml | 17 - { 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/ |
| D | call-lmbd.params.yaml | 17 - { 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/ |
| D | assn-var.params.yaml | 17 - { 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/ |
| D | call-cons.params.yaml | 17 - { 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/ |
| D | comp-obj.params.yaml | 17 - { 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/ |
| D | decl-var-un.params.yaml | 18 - { 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/ |
| D | decl-field-un.params.yaml | 18 - { 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 …]
|
| D | decl-field-wd.params.yaml | 18 - { 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/ |
| D | comp-arr-un.params.yaml | 18 - { 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 …]
|
| D | comp-arr-wd.params.yaml | 18 - { 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/ |
| D | assn-var-un.params.yaml | 18 - { 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/ |
| D | call-lmbd-un.params.yaml | 18 - { 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 …]
|
| D | call-lmbd-wd.params.yaml | 18 - { 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/ |
| D | call-func-un.params.yaml | 18 - { 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 …]
|
| D | call-func-wd.params.yaml | 18 - { 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/ |
| D | comp-obj-un.params.yaml | 18 - { 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/ |
| D | call-meth-un.params.yaml | 18 - { 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 …]
|
| D | call-meth-wd.params.yaml | 18 - { 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/ |
| D | call-cons-un.params.yaml | 18 - { 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 …]
|
| D | call-cons-wd.params.yaml | 18 - { 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/ |
| D | looseReferenceEquality.ets | 16 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 …]
|