Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Exclude Flowtype bindings from original scope list.#5692

Merged
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
loganfsmyth:original-scope-flowtype
Mar 16, 2018
Merged

Exclude Flowtype bindings from original scope list.#5692
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
loganfsmyth:original-scope-flowtype

Conversation

@loganfsmyth

Copy link
Copy Markdown
Contributor

Refs Issue: #5561

Summary of Changes

  • Exclude Flowtype bindings from original scope list.

Test Plan

Tell us a little a bit about how you tested your patch.

"Module",
["aConst", '"a-const"'],
"root()"
]);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice

} else if (
t.isImportDeclaration(node) &&
(!node.importKind || node.importKind === "value")
) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we also want a unit test for this too?

it should be simpler and would give us some quicker feedback than the mochitest, which is also helpful but less direct

@darkwing darkwing force-pushed the original-scope-flowtype branch from 39351d9 to e6bf166 Compare March 16, 2018 16:09
@jasonLaster

Copy link
Copy Markdown
Contributor

Hmm, maybe this is legit

Screen Shot 2018-03-16 at 1.57.07 PM.png

@loganfsmyth loganfsmyth force-pushed the original-scope-flowtype branch from 10118b9 to f00a495 Compare March 16, 2018 20:40
@jasonLaster jasonLaster merged commit 0fa13a3 into firefox-devtools:master Mar 16, 2018
@loganfsmyth loganfsmyth deleted the original-scope-flowtype branch March 16, 2018 21:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants