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 #24989

Merged
merged 1 commit into from
Jun 18, 2018

Conversation

typescript-bot
Copy link
Collaborator

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

cc @weswigham @sandersn @mhegazy

@@ -7550,20 +7558,29 @@ node_modules/chrome-devtools-frontend/front_end/mobile_throttling/ThrottlingMana
node_modules/chrome-devtools-frontend/front_end/mobile_throttling/ThrottlingManager.js(266,15): error TS2339: Property 'singleton' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/mobile_throttling/ThrottlingPresets.js(14,2): error TS1131: Property or signature expected.
node_modules/chrome-devtools-frontend/front_end/mobile_throttling/ThrottlingPresets.js(20,18): error TS2300: Duplicate identifier 'Conditions'.
node_modules/chrome-devtools-frontend/front_end/mobile_throttling/ThrottlingPresets.js(22,30): error TS2694: Namespace 'MobileThrottling' has no exported member 'Conditions'.
Copy link
Member

Choose a reason for hiding this comment

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

These new errors arise from the unsupported form of typedef:

/** @typedef {{ ... }} */
Entity.Name.Reference;

These have never been supported, so I suspect that #24867, which now checks type tags, is just now reporting these errors. That is, I believe that the places the errors appear are unused in the code, so would not have had an error without the explicit check that I added.

Copy link
Member

Choose a reason for hiding this comment

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

We do support that style of typedef though, afaik. I've seen the codepaths for it. The intent is definitely there, anyway.

Copy link
Member

Choose a reason for hiding this comment

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

Only for simple identifiers: /** @typedef {*} */ var A, not /** @typedef {*} */ var A.B.C;

Previously the extensions that supported both entity names and non-comment-names were so (1) hacky and (2) orthogonal that it wasn't worth the effort to support non-comment entity names. I've simplified the binding considerably, so it might be worth taking another look.

@sandersn sandersn merged commit 3bab6af into microsoft:master Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants