1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
=== tests/cases/conformance/salsa/bug26877.js ===
/** @param {Emu.D} x */
function ollKorrect(x) {
>ollKorrect : (x: D) => void
>x : D
x._model
>x._model : number
>x : D
>_model : number
const y = new Emu.D()
>y : D
>new Emu.D() : D
>Emu.D : typeof D
>Emu : typeof Emu
>D : typeof D
const z = Emu.D._wrapperInstance;
>z : string
>Emu.D._wrapperInstance : string
>Emu.D : typeof D
>Emu : typeof Emu
>D : typeof D
>_wrapperInstance : string
}
Emu.D = class {
>Emu.D = class { constructor() { this._model = 1 }} : typeof D
>Emu.D : typeof D
>Emu : typeof Emu
>D : typeof D
>class { constructor() { this._model = 1 }} : typeof D
constructor() {
this._model = 1
>this._model = 1 : 1
>this._model : number
>this : this
>_model : number
>1 : 1
}
}
=== tests/cases/conformance/salsa/second.js ===
var Emu = {}
>Emu : typeof Emu
>{} : {}
/** @type {string} */
Emu.D._wrapperInstance;
>Emu.D._wrapperInstance : string
>Emu.D : typeof D
>Emu : typeof Emu
>D : typeof D
>_wrapperInstance : string
|