Home
last modified time | relevance | path

Searched full:types (Results 1 – 25 of 11308) sorted by relevance

12345678910>>...453

/third_party/rust/rust/tests/ui/numeric/
Dnumeric-cast-binop.rs24 //~^ ERROR mismatched types in main()
26 //~^ ERROR mismatched types in main()
28 //~^ ERROR mismatched types in main()
30 //~^ ERROR mismatched types in main()
32 //~^ ERROR mismatched types in main()
35 //~^ ERROR mismatched types in main()
37 //~^ ERROR mismatched types in main()
39 //~^ ERROR mismatched types in main()
41 //~^ ERROR mismatched types in main()
43 //~^ ERROR mismatched types in main()
[all …]
Dnumeric-cast-binop.fixed24 //~^ ERROR mismatched types
26 //~^ ERROR mismatched types
28 //~^ ERROR mismatched types
30 //~^ ERROR mismatched types
32 //~^ ERROR mismatched types
35 //~^ ERROR mismatched types
37 //~^ ERROR mismatched types
39 //~^ ERROR mismatched types
41 //~^ ERROR mismatched types
43 //~^ ERROR mismatched types
[all …]
Dnumeric-cast.rs24 //~^ ERROR mismatched types in main()
26 //~^ ERROR mismatched types in main()
28 //~^ ERROR mismatched types in main()
30 //~^ ERROR mismatched types in main()
32 //~^ ERROR mismatched types in main()
34 //~^ ERROR mismatched types in main()
36 //~^ ERROR mismatched types in main()
38 //~^ ERROR mismatched types in main()
40 //~^ ERROR mismatched types in main()
45 //~^ ERROR mismatched types in main()
[all …]
Dnumeric-cast.fixed24 //~^ ERROR mismatched types
26 //~^ ERROR mismatched types
28 //~^ ERROR mismatched types
30 //~^ ERROR mismatched types
32 //~^ ERROR mismatched types
34 //~^ ERROR mismatched types
36 //~^ ERROR mismatched types
38 //~^ ERROR mismatched types
40 //~^ ERROR mismatched types
45 //~^ ERROR mismatched types
[all …]
Dnumeric-cast-no-fix.rs11 //~^ ERROR mismatched types in main()
13 //~^ ERROR mismatched types in main()
15 //~^ ERROR mismatched types in main()
17 //~^ ERROR mismatched types in main()
19 //~^ ERROR mismatched types in main()
21 //~^ ERROR mismatched types in main()
24 //~^ ERROR mismatched types in main()
26 //~^ ERROR mismatched types in main()
28 //~^ ERROR mismatched types in main()
30 //~^ ERROR mismatched types in main()
[all …]
/third_party/typescript/tests/baselines/reference/
DimportEquals1.types6 import type * as types from './a';
7 >types : typeof types
9 export = types; // Error
10 >types : typeof types
13 import * as types from './a';
14 >types : typeof types
16 export = types;
17 >types : typeof types
20 import types from './b';
21 >types : typeof types
[all …]
DexportDefault.types6 import type * as types from './a';
7 >types : typeof types
9 export default types;
10 >types : typeof types
13 import * as types from './a';
14 >types : typeof types
16 export default types;
17 >types : typeof types
20 import types from './b';
21 >types : typeof types
[all …]
DimportEquals1.symbols6 import type * as types from './a';
7 >types : Symbol(types, Decl(b.ts, 0, 11))
9 export = types; // Error
10 >types : Symbol(types, Decl(b.ts, 0, 11))
13 import * as types from './a';
14 >types : Symbol(types, Decl(c.ts, 0, 6))
16 export = types;
17 >types : Symbol(types, Decl(c.ts, 0, 6))
20 import types from './b';
21 >types : Symbol(types, Decl(d.ts, 0, 6))
[all …]
DuniqueSymbolsErrors.errors.txt1 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(2,41): error TS1005: 'symbol' exp…
2 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(3,19): error TS1333: 'unique symb…
3 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(4,13): error TS1332: A variable w…
4 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(5,13): error TS1332: A variable w…
5 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(8,38): error TS1335: 'unique symb…
6 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(9,46): error TS1335: 'unique symb…
7 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(10,39): error TS1335: 'unique sym…
8 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(11,40): error TS1335: 'unique sym…
9 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(12,53): error TS1335: 'unique sym…
10 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(13,59): error TS1335: 'unique sym…
[all …]
DexportDefault.symbols6 import type * as types from './a';
7 >types : Symbol(types, Decl(b.ts, 0, 11))
9 export default types;
10 >types : Symbol(types, Decl(b.ts, 0, 11))
13 import * as types from './a';
14 >types : Symbol(types, Decl(c.ts, 0, 6))
16 export default types;
17 >types : Symbol(types, Decl(c.ts, 0, 6))
20 import types from './b';
21 >types : Symbol(types, Decl(d.ts, 0, 6))
[all …]
DnodeModulesExportsBlocksTypesVersions(module=node16).trace.json2 "File '/node_modules/exports-and-types-versions/types/package.json' does not exist.",
3 "Found 'package.json' at '/node_modules/exports-and-types-versions/package.json'.",
5 "File '/node_modules/just-types-versions/types/package.json' does not exist.",
6 "Found 'package.json' at '/node_modules/just-types-versions/package.json'.",
8 "======== Resolving module 'exports-and-types-versions/foo' from '/main.cts'. ========",
10 "Resolving in CJS mode with conditions 'node', 'require', 'types'.",
12 …"Loading module 'exports-and-types-versions/foo' from 'node_modules' folder, target file type 'Typ…
13 …"File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached l…
15 …"File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - strippin…
16 "File '/node_modules/exports-and-types-versions/dist/foo.ts' does not exist.",
[all …]
DnodeModulesExportsBlocksTypesVersions(module=nodenext).trace.json2 "File '/node_modules/exports-and-types-versions/types/package.json' does not exist.",
3 "Found 'package.json' at '/node_modules/exports-and-types-versions/package.json'.",
5 "File '/node_modules/just-types-versions/types/package.json' does not exist.",
6 "Found 'package.json' at '/node_modules/just-types-versions/package.json'.",
8 "======== Resolving module 'exports-and-types-versions/foo' from '/main.cts'. ========",
10 "Resolving in CJS mode with conditions 'node', 'require', 'types'.",
12 …"Loading module 'exports-and-types-versions/foo' from 'node_modules' folder, target file type 'Typ…
13 …"File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached l…
15 …"File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - strippin…
16 "File '/node_modules/exports-and-types-versions/dist/foo.ts' does not exist.",
[all …]
DtypingsLookup4.trace.json10 "Found 'package.json' at '/node_modules/@types/jquery/package.json'.",
12 "File '/node_modules/@types/jquery.d.ts' does not exist.",
13 …"'package.json' has 'typings' field 'jquery.d.ts' that references '/node_modules/@types/jquery/jqu…
14 "File '/node_modules/@types/jquery/jquery.d.ts' exist - use it as a name resolution result.",
15 …"Resolving real path for '/node_modules/@types/jquery/jquery.d.ts', result '/node_modules/@types/j…
16 …"======== Module name 'jquery' was successfully resolved to '/node_modules/@types/jquery/jquery.d.…
25 "Found 'package.json' at '/node_modules/@types/kquery/package.json'.",
27 "File '/node_modules/@types/kquery.d.ts' does not exist.",
28 …"'package.json' has 'typings' field 'kquery' that references '/node_modules/@types/kquery/kquery'.…
29 "File '/node_modules/@types/kquery/kquery' does not exist.",
[all …]
DcomparisonOperatorWithNoRelationshipPrimitiveType.errors.txt1 …pPrimitiveType.ts(10,12): error TS2365: Operator '<' cannot be applied to types 'number' and 'bool…
2 …pPrimitiveType.ts(11,12): error TS2365: Operator '<' cannot be applied to types 'number' and 'stri…
3 …pPrimitiveType.ts(12,12): error TS2365: Operator '<' cannot be applied to types 'number' and 'void…
4 …pPrimitiveType.ts(15,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'num…
5 …pPrimitiveType.ts(16,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'str…
6 …pPrimitiveType.ts(17,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'voi…
7 …ipPrimitiveType.ts(18,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'E'.
8 …pPrimitiveType.ts(20,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'numb…
9 …pPrimitiveType.ts(21,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'bool…
10 …pPrimitiveType.ts(22,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'void…
[all …]
DimportClause_namespaceImport.types18 import type * as types from './a';
19 >types : typeof types
21 types;
22 >types : typeof types
24 types.Value;
25 >types.Value : {}
26 >types : typeof types
29 let v: types.Value;
30 >v : types.Value
31 >types : any
[all …]
DextendsClause.symbols1 === tests/cases/conformance/externalModules/typeOnly/types.ts ===
3 >I : Symbol(I, Decl(types.ts, 0, 0))
6 >C : Symbol(C, Decl(types.ts, 0, 21))
9 import type * as types from './types';
10 >types : Symbol(types, Decl(ns.ts, 0, 11))
12 export { types };
13 >types : Symbol(types, Decl(ns.ts, 1, 8))
16 import { types } from './ns';
17 >types : Symbol(types, Decl(index.ts, 0, 8))
19 import type { C, I } from './types';
[all …]
DimplementsClause.symbols1 === tests/cases/conformance/externalModules/typeOnly/types.ts ===
3 >Component : Symbol(Component, Decl(types.ts, 0, 0))
6 import type * as types from './types';
7 >types : Symbol(types, Decl(ns.ts, 0, 11))
9 export { types };
10 >types : Symbol(types, Decl(ns.ts, 1, 8))
13 import type * as types from './types';
14 >types : Symbol(types, Decl(index.ts, 0, 11))
19 class C implements types.Component {}
21 >types.Component : Symbol(types.Component, Decl(types.ts, 0, 0))
[all …]
DextendsClause.types1 === tests/cases/conformance/externalModules/typeOnly/types.ts ===
7 import type * as types from './types';
8 >types : typeof types
10 export { types };
11 >types : typeof types
14 import { types } from './ns';
15 >types : typeof types
17 import type { C, I } from './types';
18 >C : types.C
19 >I : types.I
[all …]
DnodeModulesExportsBlocksTypesVersions(module=nodenext).errors.txt1 error TS6504: File '/node_modules/exports-and-types-versions/dist/foo.js' is a JavaScript file. Did…
4 …t find a declaration file for module 'exports-and-types-versions/foo'. '/node_modules/exports-and-
5 …s-and-types-versions' package actually exposes this module, try adding a new declaration (.d.ts) f…
6 /main.cts(2,16): error TS2307: Cannot find module 'exports-and-types-versions/nope' or its correspo…
7 /main.cts(5,16): error TS2307: Cannot find module 'exports-and-types-versions/versioned-nah' or its…
8 …t find a declaration file for module 'exports-and-types-versions/foo'. '/node_modules/exports-and-
9 …s-and-types-versions' package actually exposes this module, try adding a new declaration (.d.ts) f…
10 /main.mts(2,16): error TS2307: Cannot find module 'exports-and-types-versions/nope' or its correspo…
11 /main.mts(5,16): error TS2307: Cannot find module 'exports-and-types-versions/versioned-nah' or its…
14 !!! error TS6504: File '/node_modules/exports-and-types-versions/dist/foo.js' is a JavaScript file.…
[all …]
DnodeModulesExportsBlocksTypesVersions(module=node16).errors.txt1 error TS6504: File '/node_modules/exports-and-types-versions/dist/foo.js' is a JavaScript file. Did…
4 …t find a declaration file for module 'exports-and-types-versions/foo'. '/node_modules/exports-and-
5 …s-and-types-versions' package actually exposes this module, try adding a new declaration (.d.ts) f…
6 /main.cts(2,16): error TS2307: Cannot find module 'exports-and-types-versions/nope' or its correspo…
7 /main.cts(5,16): error TS2307: Cannot find module 'exports-and-types-versions/versioned-nah' or its…
8 …t find a declaration file for module 'exports-and-types-versions/foo'. '/node_modules/exports-and-
9 …s-and-types-versions' package actually exposes this module, try adding a new declaration (.d.ts) f…
10 /main.mts(2,16): error TS2307: Cannot find module 'exports-and-types-versions/nope' or its correspo…
11 /main.mts(5,16): error TS2307: Cannot find module 'exports-and-types-versions/versioned-nah' or its…
14 !!! error TS6504: File '/node_modules/exports-and-types-versions/dist/foo.js' is a JavaScript file.…
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtypes_test.cpp15 #include "source/opt/types.h"
29 // Fixture class providing some element types.
42 // Element types to be used for constructing other types for testing.
52 std::vector<std::unique_ptr<Type>> types; \
53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
54 for (size_t i = 0; i < types.size(); ++i) { \
55 for (size_t j = 0; j < types.size(); ++j) { \
56 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \
57 << "expected '" << types[i]->str() << "' is the same as '" \
58 << types[j]->str() << "'"; \
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dtypes_test.cpp15 #include "source/opt/types.h"
29 // Fixture class providing some element types.
42 // Element types to be used for constructing other types for testing.
52 std::vector<std::unique_ptr<Type>> types; \
53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
54 for (size_t i = 0; i < types.size(); ++i) { \
55 for (size_t j = 0; j < types.size(); ++j) { \
56 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \
57 << "expected '" << types[i]->str() << "' is the same as '" \
58 << types[j]->str() << "'"; \
[all …]
/third_party/spirv-tools/test/opt/
Dtypes_test.cpp15 #include "source/opt/types.h"
29 // Fixture class providing some element types.
42 // Element types to be used for constructing other types for testing.
52 std::vector<std::unique_ptr<Type>> types; \
53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
54 for (size_t i = 0; i < types.size(); ++i) { \
55 for (size_t j = 0; j < types.size(); ++j) { \
56 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \
57 << "expected '" << types[i]->str() << "' is the same as '" \
58 << types[j]->str() << "'"; \
[all …]
/third_party/rust/rust/tests/ui/typeck/
Dtypeck_type_placeholder_item.rs8 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for return types
11 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for return types
14 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for static variables
17 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for static variables
20 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for static variables
23 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for functions
26 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for functions
29 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for functions
32 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for functions
35 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for functions
[all …]
/third_party/rust/rust/tests/ui/type/
Dtype-mismatch.rs17 want::<foo>(f); //~ ERROR mismatched types in have_usize()
18 want::<bar>(f); //~ ERROR mismatched types in have_usize()
19 want::<Foo<usize>>(f); //~ ERROR mismatched types in have_usize()
20 want::<Foo<usize, B>>(f); //~ ERROR mismatched types in have_usize()
21 want::<Foo<foo>>(f); //~ ERROR mismatched types in have_usize()
22 want::<Foo<foo, B>>(f); //~ ERROR mismatched types in have_usize()
23 want::<Foo<bar>>(f); //~ ERROR mismatched types in have_usize()
24 want::<Foo<bar, B>>(f); //~ ERROR mismatched types in have_usize()
28 want::<usize>(f); //~ ERROR mismatched types in have_foo()
29 want::<bar>(f); //~ ERROR mismatched types in have_foo()
[all …]

12345678910>>...453