Skip to content
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

🤖 User test baselines have changed for contextualNarrowingToObject #234

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
599 changes: 495 additions & 104 deletions tests/baselines/reference/docker/azure-sdk.log

Large diffs are not rendered by default.

4,355 changes: 2,105 additions & 2,250 deletions tests/baselines/reference/docker/office-ui-fabric.log

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions tests/baselines/reference/docker/prettier.log
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
Exit Code: 0
Standard output:
yarn run vX.X.X
$ node --max-old-space-size=3072 ./scripts/build/build.js
$ node ./scripts/build/build.mjs
Building packages
index.js....................... DONE
doc.js......................... DONE
standalone.js.................. DONE
esm/standalone.mjs........... DONE
bin-prettier.js................ DONE
cli.js......................... DONE
third-party.js................. DONE
parser-babel.js................ DONE
esm/parser-babel.mjs......... DONE
parser-flow.js................. DONE
esm/parser-flow.mjs.......... DONE
parser-typescript.js........... DONE
esm/parser-typescript.mjs.... DONE
parser-espree.js............... DONE
esm/parser-espree.mjs........ DONE
parser-meriyah.js.............. DONE
esm/parser-meriyah.mjs....... DONE
parser-angular.js.............. DONE
esm/parser-angular.mjs....... DONE
parser-postcss.js.............. DONE
esm/parser-postcss.mjs......... DONE
esm/parser-postcss.mjs....... DONE
parser-graphql.js.............. DONE
esm/parser-graphql.mjs....... DONE
parser-markdown.js............. DONE
esm/parser-markdown.mjs...... DONE
parser-glimmer.js.............. DONE
esm/parser-glimmer.mjs....... DONE
parser-html.js................. DONE
esm/parser-html.mjs.......... DONE
parser-yaml.js................. DONE
esm/parser-yaml.mjs.......... DONE
Done in ?s.


Expand Down
36 changes: 35 additions & 1 deletion tests/baselines/reference/docker/pyright.log
Original file line number Diff line number Diff line change
@@ -1,9 +1,43 @@
Exit Code: 0
Exit Code: 2
Standard output:
pyright-internal: src/common/collectionUtils.ts(299,34): error TS2769: No overload matches this call.
pyright-internal: Overload 1 of 2, '(to: (T | readonly T[])[], from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[]', gave the following error.
pyright-internal: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
pyright-internal: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[] | undefined'.
pyright-internal: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[]'.
pyright-internal: Type '{}' is not assignable to type 'T | readonly T[]'.
pyright-internal: Overload 2 of 2, '(to: (T | readonly T[])[] | undefined, from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[] | undefined', gave the following error.
pyright-internal: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
pyright-internal: src/common/collectionUtils.ts(305,5): error TS2322: Type '(T | readonly T[])[]' is not assignable to type 'T[]'.
pyright-internal: Type 'T | readonly T[]' is not assignable to type 'T'.
pyright-internal: 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | readonly T[]'.
pyright: ../pyright-internal/src/common/collectionUtils.ts(299,34): error TS2769: No overload matches this call.
pyright: Overload 1 of 2, '(to: (T | readonly T[])[], from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[]', gave the following error.
pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[] | undefined'.
pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[]'.
pyright: Type '{}' is not assignable to type 'T | readonly T[]'.
pyright: Overload 2 of 2, '(to: (T | readonly T[])[] | undefined, from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[] | undefined', gave the following error.
pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
pyright: ../pyright-internal/src/common/collectionUtils.ts(305,5): error TS2322: Type '(T | readonly T[])[]' is not assignable to type 'T[]'.
pyright: Type 'T | readonly T[]' is not assignable to type 'T'.
pyright: 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | readonly T[]'.
vscode-pyright: ../pyright-internal/src/common/collectionUtils.ts(299,34): error TS2769: No overload matches this call.
vscode-pyright: Overload 1 of 2, '(to: (T | readonly T[])[], from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[]', gave the following error.
vscode-pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
vscode-pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[] | undefined'.
vscode-pyright: Type 'T & readonly {}[]' is not assignable to type 'readonly (T | readonly T[])[]'.
vscode-pyright: Type '{}' is not assignable to type 'T | readonly T[]'.
vscode-pyright: Overload 2 of 2, '(to: (T | readonly T[])[] | undefined, from: readonly (T | readonly T[])[] | undefined, start?: number | undefined, end?: number | undefined): (T | readonly T[])[] | undefined', gave the following error.
vscode-pyright: Argument of type '(T | readonly T[] | T[]) & readonly {}[]' is not assignable to parameter of type 'readonly (T | readonly T[])[] | undefined'.
vscode-pyright: ../pyright-internal/src/common/collectionUtils.ts(305,5): error TS2322: Type '(T | readonly T[])[]' is not assignable to type 'T[]'.
vscode-pyright: Type 'T | readonly T[]' is not assignable to type 'T'.
vscode-pyright: 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | readonly T[]'.



Standard error:
lerna notice cli vX.X.X
lerna info Executing command in 3 packages: "tsc --noEmit"
lerna ERR! Received non-zero exit code 2 during execution
lerna success exec Executed command in 3 packages: "tsc --noEmit"
12 changes: 6 additions & 6 deletions tests/baselines/reference/docker/vscode.log
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ Standard output:
yarn run vX.X.X
$ node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile
[XX:XX:XX] Using gulpfile /vscode/gulpfile.js
[XX:XX:XX] Error: /vscode/extensions/html-language-features/server/src/modes/javascriptMode.ts(130,4): Unused '@ts-expect-error' directive.
[XX:XX:XX] Error: /vscode/extensions/html-language-features/server/src/modes/javascriptMode.ts(26,9): Type '{ getCompilationSettings: () => CompilerOptions; getScriptFileNames: () => string[]; getScriptKind: (fileName: string) => ScriptKind; getScriptVersion: (fileName: string) => string; getScriptSnapshot: (fileName: string) => { ...; }; getCurrentDirectory: () => string; getDefaultLibFileName: (_options: CompilerOptions...' is missing the following properties from type 'LanguageServiceHost': readFile, fileExists
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.



Standard error:
(node:18) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
[XX:XX:XX] 'compile' errored after
[XX:XX:XX] Error: Found 1 errors
at Stream.<anonymous> (/vscode/build/lib/reporter.js:91:29)
at _end (/vscode/node_modules/through/index.js:65:9)
at Stream.stream.end (/vscode/node_modules/through/index.js:74:5)
at StreamFilter.onend (/vscode/node_modules/readable-stream/lib/_stream_readable.js:577:10)
at Object.onceWrapper (events.js:286:20)
at StreamFilter.emit (events.js:203:15)
at StreamFilter.EventEmitter.emit (domain.js:466:23)
at Object.onceWrapper (events.js:519:28)
at StreamFilter.emit (events.js:412:35)
at StreamFilter.emit (domain.js:537:15)
at endReadableNT (/vscode/node_modules/readable-stream/lib/_stream_readable.js:1010:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
at runNextTicks (internal/process/task_queues.js:64:3)
error Command failed with exit code 1.
Loading