Skip to content

🤖 User test baselines have changed for named-tuple-members #36

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
12 changes: 6 additions & 6 deletions tests/baselines/reference/docker/vue-next.log
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,22 @@ created packages/reactivity/dist/reactivity.global.prod.js in ?s
packages/runtime-core/src/apiInject.ts
Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:161:30)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16989:12)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:18021:24)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17162:38)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16996:12)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:18027:24)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17169:38)
at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18)
at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11
at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11)
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:242:5)
(node:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:74ed7d1,NODE_ENV:production,TARGET:runtime-core,TYPES:true
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:89dc3d4,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:71:3)
at async buildAll (/vue-next/scripts/build.js:50:5)
at async run (/vue-next/scripts/build.js:40:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:18) 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:18) [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.
(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.
8 changes: 4 additions & 4 deletions tests/baselines/reference/user/acorn.log
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ node_modules/acorn/acorn/dist/bin.js(58,23): error TS2769: No overload matches t
Overload 1 of 3, '(path: string | number | Buffer | URL, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
Overload 2 of 3, '(path: string | number | Buffer | URL, options: string | { encoding: string; flag?: string | undefined; }): string', gave the following error.
Overload 2 of 3, '(path: string | number | Buffer | URL, options: { encoding: BufferEncoding; flag?: string | undefined; } | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | ... 4 more ... | "hex"): string', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: string | { encoding?: string | null | undefined; flag?: string | undefined; } | null | undefined): string | Buffer', gave the following error.
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | (BaseEncodingOptions & { ...; }) | null | undefined): string | Buffer', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
node_modules/acorn/bin/_acorn.js(51,30): error TS2339: Property 'getToken' does not exist on type 'Parser'.
Expand All @@ -135,10 +135,10 @@ node_modules/acorn/bin/_acorn.js(63,23): error TS2769: No overload matches this
Overload 1 of 3, '(path: string | number | Buffer | URL, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
Overload 2 of 3, '(path: string | number | Buffer | URL, options: string | { encoding: string; flag?: string | undefined; }): string', gave the following error.
Overload 2 of 3, '(path: string | number | Buffer | URL, options: { encoding: BufferEncoding; flag?: string | undefined; } | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | ... 4 more ... | "hex"): string', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: string | { encoding?: string | null | undefined; flag?: string | undefined; } | null | undefined): string | Buffer', gave the following error.
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | (BaseEncodingOptions & { ...; }) | null | undefined): string | Buffer', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
node_modules/acorn/bin/run_test262.js(3,21): error TS2307: Cannot find module 'test262-parser-runner' or its corresponding type declarations.
Expand Down
7 changes: 4 additions & 3 deletions tests/baselines/reference/user/adonis-framework.log
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ node_modules/adonis-framework/src/Encryption/index.js(101,62): error TS2769: No
Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'.
node_modules/adonis-framework/src/Encryption/index.js(102,5): error TS2322: Type 'string' is not assignable to type 'Buffer & string'.
Type 'string' is not assignable to type 'Buffer'.
node_modules/adonis-framework/src/Encryption/index.js(102,33): error TS2345: Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.
node_modules/adonis-framework/src/Encryption/index.js(114,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Encryption/index.js(119,23): error TS2554: Expected 2 arguments, but got 1.
node_modules/adonis-framework/src/Encryption/index.js(183,15): error TS2304: Cannot find name 'Mixed'.
Expand All @@ -56,8 +57,8 @@ node_modules/adonis-framework/src/Event/index.js(207,24): error TS2304: Cannot f
node_modules/adonis-framework/src/Event/index.js(256,52): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
Type 'Function' provides no match for the signature '(...values: any[]): void'.
node_modules/adonis-framework/src/Event/index.js(264,28): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
node_modules/adonis-framework/src/Event/index.js(271,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[string, any, TimerHandler]'.
node_modules/adonis-framework/src/Event/index.js(278,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[string, any, TimerHandler]'.
node_modules/adonis-framework/src/Event/index.js(271,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: string, name: any, handler: TimerHandler]'.
node_modules/adonis-framework/src/Event/index.js(278,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: string, name: any, handler: TimerHandler]'.
node_modules/adonis-framework/src/Event/index.js(294,30): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
node_modules/adonis-framework/src/Exceptions/index.js(13,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Exceptions/index.js(27,21): error TS2554: Expected 0 arguments, but got 3.
Expand Down Expand Up @@ -89,7 +90,7 @@ node_modules/adonis-framework/src/Helpers/index.js(240,45): error TS2345: Argume
Type 'undefined' is not assignable to type 'string'.
node_modules/adonis-framework/src/Helpers/index.js(256,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/adonis-framework/src/Helpers/index.js(330,23): error TS2532: Object is possibly 'undefined'.
node_modules/adonis-framework/src/Helpers/index.js(330,31): error TS2339: Property 'mainModule' does not exist on type 'Process'.
node_modules/adonis-framework/src/Middleware/index.js(13,21): error TS2307: Cannot find module 'adonis-fold' or its corresponding type declarations.
node_modules/adonis-framework/src/Middleware/index.js(87,38): error TS1016: A required parameter cannot follow an optional parameter.
node_modules/adonis-framework/src/Middleware/index.js(230,20): error TS8024: JSDoc '@param' tag has name 'Middleware', but there is no parameter with that name.
Expand Down
45 changes: 15 additions & 30 deletions tests/baselines/reference/user/bcryptjs.log
Original file line number Diff line number Diff line change
@@ -1,36 +1,21 @@
Exit Code: 1
Standard output:
node_modules/bcryptjs/scripts/build.js(1,26): error TS2307: Cannot find module 'metascript' or its corresponding type declarations.
node_modules/bcryptjs/scripts/build.js(32,1): error TS2741: Property 'ISAAC' is missing in type '{ VERSION: any; }' but required in type '{ VERSION: any; ISAAC: boolean; }'.
node_modules/bcryptjs/src/bcrypt.js(25,13): error TS2740: Type 'Buffer' is missing the following properties from type 'number[]': pop, push, concat, shift, and 5 more.
node_modules/bcryptjs/src/bcrypt.js(94,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/src/bcrypt.js(150,5): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/bcryptjs/src/bcrypt.js(160,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/src/bcrypt.js(238,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/src/bcrypt/impl.js(516,22): error TS2345: Argument of type 'number[] | Int32Array' is not assignable to parameter of type 'number[]'.
Type 'Int32Array' is missing the following properties from type 'number[]': pop, push, concat, shift, and 5 more.
node_modules/bcryptjs/src/bcrypt/impl.js(546,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.
node_modules/bcryptjs/src/bcrypt/impl.js(658,23): error TS2345: Argument of type 'number[] | undefined' is not assignable to parameter of type 'number[]'.
Type 'undefined' is not assignable to type 'number[]'.
node_modules/bcryptjs/src/bcrypt/impl.js(664,31): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
node_modules/bcryptjs/src/bcrypt/impl.js(666,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.
node_modules/bcryptjs/src/bcrypt/impl.js(666,39): error TS2345: Argument of type 'number[] | undefined' is not assignable to parameter of type 'number[]'.
Type 'undefined' is not assignable to type 'number[]'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(51,74): error TS2339: Property 'attachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(52,22): error TS2339: Property 'attachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(53,22): error TS2339: Property 'attachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(65,74): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(66,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(67,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/util.js(4,12): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/bcryptjs/src/bcrypt/util.js(20,5): error TS2304: Cannot find name 'utfx'.
node_modules/bcryptjs/src/wrap.js(37,26): error TS2304: Cannot find name 'define'.
node_modules/bcryptjs/src/wrap.js(37,51): error TS2304: Cannot find name 'define'.
node_modules/bcryptjs/src/wrap.js(38,9): error TS2304: Cannot find name 'define'.
node_modules/bcryptjs/src/wrap.js(49,12): error TS2552: Cannot find name 'bcrypt'. Did you mean 'Crypto'?
node_modules/bcryptjs/tests/suite.js(3,23): error TS2307: Cannot find module 'bcrypt' or its corresponding type declarations.



Standard error:

../../../src/compiler/utilitiesPublic.ts:931
return node.kind === SyntaxKind.Identifier;
^
TypeError: Cannot read property 'kind' of undefined
at Object.isIdentifier (../../../src/compiler/utilitiesPublic.ts:931:21)
at isValidDeclarationForTupleLabel (../../../src/compiler/checker.ts:27049:81)
at getNameableDeclarationAtPosition (../../../src/compiler/checker.ts:27056:32)
at getRestTypeAtPosition (../../../src/compiler/checker.ts:27101:30)
at applyToParameterTypes (../../../src/compiler/checker.ts:18389:26)
at inferFromSignature (../../../src/compiler/checker.ts:19200:21)
at inferFromSignatures (../../../src/compiler/checker.ts:19190:21)
at inferFromObjectTypesWorker (../../../src/compiler/checker.ts:19166:21)
at inferFromObjectTypes (../../../src/compiler/checker.ts:19110:21)
at invokeOnce (../../../src/compiler/checker.ts:18900:17)
6 changes: 3 additions & 3 deletions tests/baselines/reference/user/bluebird.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ node_modules/bluebird/js/release/bluebird.js(5,15): error TS2367: This condition
node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noConflict' does not exist on type 'typeof Promise'.
node_modules/bluebird/js/release/debuggability.js(225,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent<any>', but here has type 'Event'.
node_modules/bluebird/js/release/debuggability.js(232,26): error TS2339: Property 'detail' does not exist on type 'Event'.
node_modules/bluebird/js/release/debuggability.js(258,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '["multipleResolves", MultipleResolveListener]'.
node_modules/bluebird/js/release/debuggability.js(258,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: "multipleResolves", listener: MultipleResolveListener]'.
node_modules/bluebird/js/release/debuggability.js(301,9): error TS2322: Type 'Process' is not assignable to type 'boolean'.
node_modules/bluebird/js/release/debuggability.js(301,28): error TS2684: The 'this' context of type '((...args: any[]) => Process) | ((name: any, ...args: any[]) => boolean)' is not assignable to method's 'this' of type '(this: null, name?: any, ...args: any[]) => Process'.
Type '(name: any, ...args: any[]) => boolean' is not assignable to type '(this: null, name?: any, ...args: any[]) => Process'.
node_modules/bluebird/js/release/debuggability.js(301,28): error TS2684: The 'this' context of type '((...args: any[]) => Process) | ((name: any, ...args: any[]) => boolean)' is not assignable to method's 'this' of type '(this: null, args_0?: any, ...args_1: any[]) => Process'.
Type '(name: any, ...args: any[]) => boolean' is not assignable to type '(this: null, args_0?: any, ...args_1: any[]) => Process'.
Type 'boolean' is not assignable to type 'Process'.
node_modules/bluebird/js/release/debuggability.js(562,19): error TS2350: Only a void function can be called with the 'new' keyword.
node_modules/bluebird/js/release/debuggability.js(633,59): error TS2554: Expected 0 arguments, but got 1.
Expand Down
Loading