| /third_party/typescript/tests/baselines/reference/ |
| D | unionReductionMutualSubtypes.types | 5 something(): void; 6 >something : () => void 9 const k: ReturnVal = { something() { } } 11 >{ something() { } } : { something(): void; } 12 >something : () => void 17 function run(options: { something?(b?: string): void }) { 18 >run : (options: { something?(b?: string): void; }) => void 19 >options : { something?(b?: string): void; } 20 >something : ((b?: string) => void) | undefined 23 const something = options.something ?? val.something; [all …]
|
| D | unionReductionMutualSubtypes.symbols | 7 something(): void; 8 >something : Symbol(ReturnVal.something, Decl(unionReductionMutualSubtypes.ts, 2, 21)) 11 const k: ReturnVal = { something() { } } 14 >something : Symbol(something, Decl(unionReductionMutualSubtypes.ts, 6, 22)) 20 function run(options: { something?(b?: string): void }) { 23 >something : Symbol(something, Decl(unionReductionMutualSubtypes.ts, 9, 23)) 26 const something = options.something ?? val.something; 27 >something : Symbol(something, Decl(unionReductionMutualSubtypes.ts, 10, 9)) 28 >options.something : Symbol(something, Decl(unionReductionMutualSubtypes.ts, 9, 23)) 30 >something : Symbol(something, Decl(unionReductionMutualSubtypes.ts, 9, 23)) [all …]
|
| D | jsDeclarationsTypeReferences3.types | 4 const Something = require("fs").Something; 5 >Something : typeof Something 6 >require("fs").Something : typeof Something 10 >Something : typeof Something 22 >module.exports.A.B = { thing: new Something()} : { thing: Something; } 23 >module.exports.A.B : { thing: Something; } 29 >B : { thing: Something; } 30 >{ thing: new Something()} : { thing: Something; } 32 thing: new Something() 33 >thing : Something [all …]
|
| D | jsDeclarationsTypeReferences4.types | 3 export const Something = 2; // to show conflict that can occur 4 >Something : 2 15 const Something = require("fs").Something; 16 >Something : typeof Something 17 >require("fs").Something : typeof Something 21 >Something : typeof Something 23 const thing = new Something(); 24 >thing : Something 25 >new Something() : Something 26 >Something : typeof Something [all …]
|
| D | jsDeclarationsTypeReferences.types | 4 const Something = require("fs").Something; 5 >Something : typeof Something 6 >require("fs").Something : typeof Something 10 >Something : typeof Something 12 const thing = new Something(); 13 >thing : Something 14 >new Something() : Something 15 >Something : typeof Something 22 >{ thing} : { thing: Something; } 25 >thing : Something [all …]
|
| D | jsDeclarationsTypeReferences4.symbols | 3 export const Something = 2; // to show conflict that can occur 4 >Something : Symbol(Something, Decl(index.js, 1, 12)) 14 const Something = require("fs").Something; 15 >Something : Symbol(Something, Decl(index.js, 6, 13)) 16 >require("fs").Something : Symbol(Something, Decl(index.d.ts, 0, 21)) 19 >Something : Symbol(Something, Decl(index.d.ts, 0, 21)) 21 const thing = new Something(); 23 >Something : Symbol(Something, Decl(index.js, 6, 13)) 35 export class Something {} 36 >Something : Symbol(Something, Decl(index.d.ts, 0, 21))
|
| D | typeVariableConstraintedToAliasNotAssignableToUnion.errors.txt | 5 …tAssignableToUnion.ts(23,5): error TS2322: Type 'T' is not assignable to type 'string | Something'. 6 Type 'TableClass<any>' is not assignable to type 'string | Something'. 7 …ableToUnion.ts(24,5): error TS2322: Type 'T' is not assignable to type 'Something | SomethingElse'. 8 Type 'TableClass<any>' is not assignable to type 'Something | SomethingElse'. 13 …tAssignableToUnion.ts(30,5): error TS2322: Type 'T' is not assignable to type 'string | Something'. 14 Type 'TableClass<any>' is not assignable to type 'string | Something'. 15 …ableToUnion.ts(31,5): error TS2322: Type 'T' is not assignable to type 'Something | SomethingElse'. 16 Type 'TableClass<any>' is not assignable to type 'Something | SomethingElse'. 19 …ignableToUnion.ts(37,1): error TS2322: Type 'Table' is not assignable to type 'string | Something'. 20 …ToUnion.ts(38,1): error TS2322: Type 'Table' is not assignable to type 'Something | SomethingElse'. [all …]
|
| D | jsDeclarationsTypeReferences.symbols | 4 const Something = require("fs").Something; 5 >Something : Symbol(Something, Decl(index.js, 2, 5)) 6 >require("fs").Something : Symbol(Something, Decl(index.d.ts, 0, 21)) 9 >Something : Symbol(Something, Decl(index.d.ts, 0, 21)) 11 const thing = new Something(); 13 >Something : Symbol(Something, Decl(index.js, 2, 5)) 29 export class Something {} 30 >Something : Symbol(Something, Decl(index.d.ts, 0, 21))
|
| D | unionReductionMutualSubtypes.js | 5 something(): void; 8 const k: ReturnVal = { something() { } } method 11 function run(options: { something?(b?: string): void }) { 12 const something = options.something ?? val.something; 13 something(''); 20 var k = { something: function () { } }; method 23 var something = (_a = options.something) !== null && _a !== void 0 ? _a : val.something; 24 something('');
|
| D | exportSpecifiers.symbols | 2 import { type, as, something, foo, bar } from "./exports.js"; 5 >something : Symbol(something, Decl(imports.ts, 0, 18)) 15 something; // Error (used in emitting position) 16 >something : Symbol(something, Decl(imports.ts, 0, 18)) 31 const something = 0; 32 >something : Symbol(something, Decl(exports.ts, 2, 5)) 40 export { type something }; 41 >something : Symbol(something, Decl(exports.ts, 5, 8)) 51 export type { type something as whatever }; // Error 52 >something : Symbol(something, Decl(exports.ts, 2, 5))
|
| D | importCallExpressionInExportEqualsUMD.types | 1 === tests/cases/conformance/dynamicImport/something.ts === 7 >async function() { const something = await import("./something");} : () => Promise<void> 9 const something = await import("./something"); 10 >something : 42 11 >await import("./something") : 42 12 >import("./something") : Promise<42> 13 >"./something" : "./something"
|
| D | importCallExpressionInExportEqualsAMD.types | 1 === tests/cases/conformance/dynamicImport/something.ts === 7 >async function() { const something = await import("./something");} : () => Promise<void> 9 const something = await import("./something"); 10 >something : 42 11 >await import("./something") : 42 12 >import("./something") : Promise<42> 13 >"./something" : "./something"
|
| D | importCallExpressionInExportEqualsCJS.types | 1 === tests/cases/conformance/dynamicImport/something.ts === 7 >async function() { const something = await import("./something");} : () => Promise<void> 9 const something = await import("./something"); 10 >something : 42 11 >await import("./something") : 42 12 >import("./something") : Promise<42> 13 >"./something" : "./something"
|
| D | jsDeclarationsTypeReferences4.js | 5 export class Something {} 9 export const Something = 2; // to show conflict that can occur constant 14 const Something = require("fs").Something; constant 15 const thing = new Something(); 25 exports.A = exports.Something = void 0; 27 exports.Something = 2; // to show conflict that can occur 34 var Something = require("fs").Something; 35 var thing = new Something(); 42 export const Something: 2; constant 46 export const thing: import("fs").Something;
|
| D | jsDeclarationsTypeReferences3.symbols | 4 const Something = require("fs").Something; 5 >Something : Symbol(Something, Decl(index.js, 2, 5)) 6 >require("fs").Something : Symbol(Something, Decl(index.d.ts, 0, 21)) 9 >Something : Symbol(Something, Decl(index.d.ts, 0, 21)) 27 thing: new Something() 29 >Something : Symbol(Something, Decl(index.js, 2, 5)) 36 export class Something {} 37 >Something : Symbol(Something, Decl(index.d.ts, 0, 21))
|
| D | jsDeclarationsTypeReferences.js | 5 export class Something {} 10 const Something = require("fs").Something; constant 12 const thing = new Something(); 21 var Something = require("fs").Something; variable 22 var thing = new Something(); 30 export const thing: Something; 32 import Something = Something_1.Something;
|
| D | jsDeclarationsTypeReferences3.js | 5 export class Something {} 10 const Something = require("fs").Something; constant 13 thing: new Something() 19 var Something = require("fs").Something; variable 22 thing: new Something() 30 const thing: Something; 34 import Something = Something_1.Something;
|
| /third_party/rust/rust/src/tools/rustfmt/tests/source/itemized-blocks/ |
| D | urls.rs | 12 //! - example -- http://example.org -- something something something something something something 13 //! - something something something something something something more -- http://example.org 14 //! - http://example.org/something/something/something/something/something/something and the rest
|
| /third_party/rust/rust/src/tools/rustfmt/tests/target/itemized-blocks/ |
| D | urls.rs | 12 //! - example -- http://example.org -- something something something something 13 //! something something 14 //! - something something something something something something more -- http://example.org 15 //! - http://example.org/something/something/something/something/something/something
|
| /third_party/rust/rust/src/tools/clippy/tests/ui/ |
| D | format_args_unfixable.rs | 12 println!("error: {}", format!("something failed at {}", Location::caller())); 18 format!("something failed at {}", Location::caller()) 26 println!("error: {}", format!("something failed at {}", Location::caller())); in main() 27 println!("{}: {}", error, format!("something failed at {}", Location::caller())); in main() 28 println!("{:?}: {}", error, format!("something failed at {}", Location::caller())); in main() 29 println!("{{}}: {}", format!("something failed at {}", Location::caller())); in main() 30 println!(r#"error: "{}""#, format!("something failed at {}", Location::caller())); in main() 31 println!("error: {}", format!(r#"something failed at "{}""#, Location::caller())); in main() 32 println!("error: {}", format!("something failed at {} {0}", Location::caller())); in main() 33 let _ = format!("error: {}", format!("something failed at {}", Location::caller())); in main() [all …]
|
| /third_party/rust/rust/tests/ui/rfcs/rfc-2565-param-attrs/ |
| D | param-attrs-cfg.rs | 1 // compile-flags: --cfg something 10 #[cfg(something)] b: i32, in ffi() 11 #[cfg_attr(something, cfg(nothing))] c: i32, in ffi() argument 18 #[cfg(something)] b: i32, 20 #[cfg_attr(something, cfg(nothing))] d: i32, 24 #[cfg(something)] a: i32, in foo_async() 30 #[cfg(something)] b: i32, in foo() 34 #[cfg_attr(something, cfg(nothing))] d: i32, in foo() argument 41 #[cfg(something)] a: i32, in bar_async() 48 #[cfg(something)] b: i32, in bar() [all …]
|
| D | param-attrs-allowed.rs | 2 // compile-flags: --cfg something 9 #[cfg(something)] b: i32, in ffi() 10 #[cfg_attr(something, cfg(nothing))] c: i32, in ffi() argument 18 #[cfg(something)] b: i32, 19 #[cfg_attr(something, cfg(nothing))] c: i32, 26 #[cfg(something)] b: i32, in foo() 27 #[cfg_attr(something, cfg(nothing))] c: i32, in foo() argument 38 #[cfg(something)] a: i32, in foo() 39 #[cfg_attr(something, cfg(nothing))] in foo() argument 48 #[cfg(something)] a: i32, in foo() [all …]
|
| /third_party/python/Lib/unittest/test/testmock/ |
| D | testwith.py | 9 something = sentinel.Something variable 19 with patch('%s.something' % __name__, sentinel.Something2): 20 self.assertEqual(something, sentinel.Something2, "unpatched") 21 self.assertEqual(something, sentinel.Something) 26 with patch('%s.something' % __name__, sentinel.Something2): 27 self.assertEqual(something, sentinel.Something2, "unpatched") 29 self.assertEqual(something, sentinel.Something) 33 with patch('%s.something' % __name__) as mock_something: 34 self.assertEqual(something, mock_something, "unpatched") 37 self.assertEqual(something, sentinel.Something) [all …]
|
| /third_party/rust/rust/tests/ui/cast/ |
| D | issue-84213.stderr | 1 error[E0605]: non-primitive cast: `Something` as `*const Something` 4 LL | let _pointer_to_something = something as *const Something; 9 LL | let _pointer_to_something = &something as *const Something; 12 error[E0605]: non-primitive cast: `Something` as `*mut Something` 15 LL | let _mut_pointer_to_something = something as *mut Something; 20 LL | let _mut_pointer_to_something = &mut something as *mut Something;
|
| /third_party/glslang/Test/baseResults/ |
| D | hlsl.basic.geom.out | 12 0:16 'OutputStream' ( out structure{ temp float myfloat, temp int something}) 16 0:19 'Vert' ( temp structure{ temp float myfloat, temp int something}) 35 0:20 something: direct index for structure ( temp int) 36 0:20 'Vert' ( temp structure{ temp float myfloat, temp int something}) 49 0:22 'Vert' ( temp structure{ temp float myfloat, temp int something}) 53 0:? 'OutputStream.something' (layout( location=1) out int) 54 0:22 something: direct index for structure ( temp int) 55 0:22 'Vert' ( temp structure{ temp float myfloat, temp int something}) 64 0:23 'Vert' ( temp structure{ temp float myfloat, temp int something}) 68 0:? 'OutputStream.something' (layout( location=1) out int) [all …]
|