Lines Matching +full:non +full:- +full:object
2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
19 let object_array: Object[] = arr1 as Object[];
20 let object: Object = arr1 as Object;
22 // TypeError: Cannot access property of non-object or non-enum type
27 object.toString();
29 // TypeError: Cannot access property of non-object or non-enum type
34 object.$_hashCode();
38 assert(arr1 == object);
41 // Cannot cast type 'int[]' to 'Object[]'
42 // let object_array2: Object[] = arr2 as Object[];
43 // assert(object.equals(arr2 as Object) == false);