Skip to content

🤖 User test baselines have changed for revertAwaitedType #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: user-baseline-updates
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 87 additions & 20 deletions tests/baselines/reference/docker/office-ui-fabric.log

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions tests/baselines/reference/docker/vscode.log
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,39 @@ yarn run vX.X.X
$ gulp compile --max_old_space_size=4095
[XX:XX:XX] Node flags detected: --max_old_space_size=4095
[XX:XX:XX] Using gulpfile /vscode/gulpfile.js
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(222,5): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(225,7): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(229,7): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/contrib/search/common/searchModel.ts(609,21): Type 'FileMatch | FileMatch[]' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts(470,5): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/parts/quickinput/browser/quickInputList.ts(474,3): Type '"none" | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(45,45): Property 'msTouchAction' does not exist on type 'CSSStyleDeclaration'. Did you mean 'touchAction'?
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(46,45): Property 'msContentZooming' does not exist on type 'CSSStyleDeclaration'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(249,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(222,5): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(225,7): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(229,7): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/tree/asyncDataTree.ts(215,2): Type '{ collapseByDefault: true; identityProvider: { getId(el: IAsyncDataTreeNode<TInput, T>): { toString(): string; }; } | undefined; dnd: AsyncDataTreeNodeListDragAndDrop<TInput, T> | undefined; ... 31 more ...; horizontalScrolling?: boolean | undefined; } | undefined' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData> | undefined'.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks to actually be due to microsoft#36539

Type '{ collapseByDefault: true; identityProvider: { getId(el: IAsyncDataTreeNode<TInput, T>): { toString(): string; }; } | undefined; dnd: AsyncDataTreeNodeListDragAndDrop<TInput, T> | undefined; ... 31 more ...; horizontalScrolling?: boolean | undefined; }' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData>'.
Types of property 'ariaProvider' are incompatible.
Type '{ getPosInSet(el: IAsyncDataTreeNode<TInput, T>, index: number): number; getSetSize(el: IAsyncDataTreeNode<TInput, T>, index: number, listLength: number): number; getRole: (el: IAsyncDataTreeNode<...>) => string; isChecked: ((e: IAsyncDataTreeNode<...>) => boolean | undefined) | undefined; } | undefined' is not assignable to type 'IAriaProvider<IAsyncDataTreeNode<TInput, T>> | undefined'.
Type '{ getPosInSet(el: IAsyncDataTreeNode<TInput, T>, index: number): number; getSetSize(el: IAsyncDataTreeNode<TInput, T>, index: number, listLength: number): number; getRole: (el: IAsyncDataTreeNode<...>) => string; isChecked: ((e: IAsyncDataTreeNode<...>) => boolean | undefined) | undefined; }' is not assignable to type 'IAriaProvider<IAsyncDataTreeNode<TInput, T>>'.
Types of property 'isChecked' are incompatible.
Type '((e: IAsyncDataTreeNode<TInput, T>) => boolean | undefined) | undefined' is not assignable to type '((element: IAsyncDataTreeNode<TInput, T>) => boolean) | undefined'.
Type '(e: IAsyncDataTreeNode<TInput, T>) => boolean | undefined' is not assignable to type '(element: IAsyncDataTreeNode<TInput, T>) => boolean'.
Type 'boolean | undefined' is not assignable to type 'boolean'.
Type 'undefined' is not assignable to type 'boolean'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(216,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/tree/asyncDataTree.ts(215,2): boolean | undefined; } | undefined' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData> | undefined'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/contrib/search/common/searchModel.ts(609,21): Type 'FileMatch | FileMatch[]' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts(470,5): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/parts/quickinput/browser/quickInputList.ts(474,3): Type '"none" | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(45,45): Property 'msTouchAction' does not exist on type 'CSSStyleDeclaration'. Did you mean 'touchAction'?
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(46,45): Property 'msContentZooming' does not exist on type 'CSSStyleDeclaration'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(249,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/tree/asyncDataTree.ts(215,2): Type '{ collapseByDefault: true; identityProvider: { getId(el: IAsyncDataTreeNode<TInput, T>): { toString(): string; }; } | undefined; dnd: AsyncDataTreeNodeListDragAndDrop<TInput, T> | undefined; ... 31 more ...; horizontalScrolling?: boolean | undefined; } | undefined' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData> | undefined'.
Type '{ collapseByDefault: true; identityProvider: { getId(el: IAsyncDataTreeNode<TInput, T>): { toString(): string; }; } | undefined; dnd: AsyncDataTreeNodeListDragAndDrop<TInput, T> | undefined; ... 31 more ...; horizontalScrolling?: boolean | undefined; }' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData>'.
Types of property 'ariaProvider' are incompatible.
Type '{ getPosInSet(el: IAsyncDataTreeNode<TInput, T>, index: number): number; getSetSize(el: IAsyncDataTreeNode<TInput, T>, index: number, listLength: number): number; getRole: (el: IAsyncDataTreeNode<...>) => string; isChecked: ((e: IAsyncDataTreeNode<...>) => boolean | undefined) | undefined; } | undefined' is not assignable to type 'IAriaProvider<IAsyncDataTreeNode<TInput, T>> | undefined'.
Type '{ getPosInSet(el: IAsyncDataTreeNode<TInput, T>, index: number): number; getSetSize(el: IAsyncDataTreeNode<TInput, T>, index: number, listLength: number): number; getRole: (el: IAsyncDataTreeNode<...>) => string; isChecked: ((e: IAsyncDataTreeNode<...>) => boolean | undefined) | undefined; }' is not assignable to type 'IAriaProvider<IAsyncDataTreeNode<TInput, T>>'.
Types of property 'isChecked' are incompatible.
Type '((e: IAsyncDataTreeNode<TInput, T>) => boolean | undefined) | undefined' is not assignable to type '((element: IAsyncDataTreeNode<TInput, T>) => boolean) | undefined'.
Type '(e: IAsyncDataTreeNode<TInput, T>) => boolean | undefined' is not assignable to type '(element: IAsyncDataTreeNode<TInput, T>) => boolean'.
Type 'boolean | undefined' is not assignable to type 'boolean'.
Type 'undefined' is not assignable to type 'boolean'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(216,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/tree/asyncDataTree.ts(215,2): boolean | undefined; } | undefined' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData> | undefined'.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.



Standard error:
[XX:XX:XX] 'compile' errored after
[XX:XX:XX] Error: Found 10 errors
[XX:XX:XX] Error: Found 3 errors
at Stream.<anonymous> (/vscode/build/lib/reporter.js:75:29)
at _end (/vscode/node_modules/through/index.js:65:9)
at Stream.stream.end (/vscode/node_modules/through/index.js:74:5)
Expand Down
14 changes: 7 additions & 7 deletions tests/baselines/reference/docker/vue-next.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Exit Code: 0
Standard output:

> @X.X.X-alpha.9 build /vue-next
> @X.X.X-alpha.10 build /vue-next
> node scripts/build.js "--types"
Rolling up type definitions for compiler-core...
Writing: /vue-next/temp/compiler-core.api.json
Expand Down Expand Up @@ -75,10 +75,10 @@ created packages/reactivity/dist/reactivity.global.prod.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm.prod.js...
created packages/reactivity/dist/reactivity.esm.prod.js in ?s
/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js...
[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/apiOptions.ts(137,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/apiOptions.ts(143,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
packages/runtime-core/src/apiOptions.ts
Error: /vue-next/packages/runtime-core/src/apiOptions.ts(137,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Error: /vue-next/packages/runtime-core/src/apiOptions.ts(143,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
at error (/vue-next/node_modules/rollup/dist/shared/node-entry.js:5400:30)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/node-entry.js:11878:12)
Expand All @@ -90,12 +90,12 @@ Error: /vue-next/packages/runtime-core/src/apiOptions.ts(137,18): semantic error
at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14)
at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2)
at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:234:5)
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:342d46d,NODE_ENV:production,TARGET:runtime-core,TYPES:true
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:925ba6b,NODE_ENV:production,TARGET:runtime-core,TYPES:true
at makeError (/vue-next/node_modules/execa/lib/error.js:59:11)
at handlePromise (/vue-next/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async build (/vue-next/scripts/build.js:72:3)
at async buildAll (/vue-next/scripts/build.js:51:5)
at async run (/vue-next/scripts/build.js:41:5)
at async build (/vue-next/scripts/build.js:71:3)
at async buildAll (/vue-next/scripts/build.js:50:5)
at async run (/vue-next/scripts/build.js:40:5)
(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
16 changes: 16 additions & 0 deletions tests/baselines/reference/user/TypeScript-Node-Starter.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Exit Code: 1
Standard output:
node_modules/@types/bluebird/index.d.ts(61,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'.
Type '{ <U>(onFulfill?: (value: R) => Resolvable<U>, onReject?: (error: any) => Resolvable<U>): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: (value: R) => Resolvable<TResult1>, onrejected?: (reason: any) => Resolvable<...>): Bluebird<...>; }' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: (value: awaited R) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => PromiseLike<...>'.
Types of parameters 'onFulfill' and 'onfulfilled' are incompatible.
Types of parameters 'value' and 'value' are incompatible.
Type 'R' is not assignable to type 'awaited R'.
node_modules/@types/bluebird/index.d.ts(62,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'.
Type '{ <U>(onFulfill?: (value: R) => Resolvable<U>, onReject?: (error: any) => Resolvable<U>): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: (value: R) => Resolvable<TResult1>, onrejected?: (reason: any) => Resolvable<...>): Bluebird<...>; }' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: (value: awaited R) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => PromiseLike<...>'.
node_modules/@types/jquery/misc.d.ts(1205,15): error TS2430: Interface 'PromiseBase<TR, TJ, TN, UR, UJ, UN, VR, VJ, VN, SR, SJ, SN>' incorrectly extends interface '_Promise<TR>'.
Types of property 'then' are incompatible.
Type '{ <ARD = never, AJD = never, AND = never, BRD = never, BJD = never, BND = never, CRD = never, CJD = never, CND = never, RRD = never, RJD = never, RND = never, ARF = never, AJF = never, ANF = never, BRF = never, BJF = never, BNF = never, CRF = never, CJF = never, CNF = never, RRF = never, RJF = never, RNF = never, AR...' is not assignable to type '<TResult1 = TR, TResult2 = never>(onfulfilled?: (value: TR) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => _Promise<...>'.



Standard error:
Loading