Skip to content

🤖 User test baselines have changed#27184

Closed
typescript-bot wants to merge 1 commit intomicrosoft:masterfrom
typescript-bot:user-update-20180802
Closed

🤖 User test baselines have changed#27184
typescript-bot wants to merge 1 commit intomicrosoft:masterfrom
typescript-bot:user-update-20180802

Conversation

@typescript-bot
Copy link
Copy Markdown
Collaborator

Please review the diff and merge if no changes are unexpected.
You can view the build log here.

cc @weswigham @sandersn @RyanCavanaugh

Copy link
Copy Markdown
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

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

It's all use before defined errors and one new error span from diving into return expressions. But wow is that a lot of used before definition errors.

@sandersn
Copy link
Copy Markdown
Member

@weswigham bear in mind those will only show up with strict on. (strictNullChecks specifically).

Copy link
Copy Markdown
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

I'm going to see why #27197 happens and then I'll re-run the user tests after fixing it.

@@ -1,6 +1,9 @@
Exit Code: 1
Standard output:
node_modules/acorn/bin/_acorn.js(46,22): error TS2565: Property 'parse' is used before being assigned.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These are imported from an AMD-compiled dist folder.

node_modules/adonis-framework/providers/ViewProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/src/Config/index.js(37,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Config/index.js(39,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Config/index.js(48,25): error TS2565: Property 'existy' is used before being assigned.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is incorrect; we shouldn't see a use-before-def error when imported from a module. Probably happens because these aren't real aliases?

Filed #27197

@RyanCavanaugh RyanCavanaugh added this to the TypeScript 3.2 milestone Sep 18, 2018
@sandersn
Copy link
Copy Markdown
Member

Let's close this and wait for #27199 to get rid of the spurious use-before-def errors.

@sandersn sandersn closed this Sep 18, 2018
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants