| /third_party/rust/rust/tests/ui/numeric/ |
| D | numeric-cast-binop.rs | 24 //~^ 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 …]
|
| D | numeric-cast-binop.fixed | 24 //~^ 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 …]
|
| D | numeric-cast.rs | 24 //~^ 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 …]
|
| D | numeric-cast.fixed | 24 //~^ 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 …]
|
| D | numeric-cast-no-fix.rs | 11 //~^ 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/ |
| D | importEquals1.types | 6 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 …]
|
| D | exportDefault.types | 6 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 …]
|
| D | importEquals1.symbols | 6 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 …]
|
| D | uniqueSymbolsErrors.errors.txt | 1 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 …]
|
| D | exportDefault.symbols | 6 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 …]
|
| D | nodeModulesExportsBlocksTypesVersions(module=node16).trace.json | 2 "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 …]
|
| D | nodeModulesExportsBlocksTypesVersions(module=nodenext).trace.json | 2 "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 …]
|
| D | typingsLookup4.trace.json | 10 "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 …]
|
| D | comparisonOperatorWithNoRelationshipPrimitiveType.errors.txt | 1 …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 …]
|
| D | importClause_namespaceImport.types | 18 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 …]
|
| D | extendsClause.symbols | 1 === 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 …]
|
| D | implementsClause.symbols | 1 === 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 …]
|
| D | extendsClause.types | 1 === 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 …]
|
| D | nodeModulesExportsBlocksTypesVersions(module=nodenext).errors.txt | 1 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 …]
|
| D | nodeModulesExportsBlocksTypesVersions(module=node16).errors.txt | 1 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/ |
| D | types_test.cpp | 15 #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/ |
| D | types_test.cpp | 15 #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/ |
| D | types_test.cpp | 15 #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/ |
| D | typeck_type_placeholder_item.rs | 8 //~^ 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/ |
| D | type-mismatch.rs | 17 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 …]
|