Skip to content

Rename "destructuring, parameters / defaults, arrow function"#1570

Merged
ljharb merged 3 commits intocompat-table:gh-pagesfrom
nicolo-ribaudo:rename-arrow-destr-short-def-edge-bug
Jan 17, 2020
Merged

Rename "destructuring, parameters / defaults, arrow function"#1570
ljharb merged 3 commits intocompat-table:gh-pagesfrom
nicolo-ribaudo:rename-arrow-destr-short-def-edge-bug

Conversation

@nicolo-ribaudo
Copy link
Copy Markdown
Contributor

It only tests shorthand defaults in object destructuring inside parameters, so
"shorthand defaults, arrow function" describes it more closely.

I propose to rename this test instead of also testing for x: y = z because the
latter works in edge15-17, while the shorthand version doesn't.

It only tests shorthand defaults in object destructuring inside parameters, so
"shorthand defaults, arrow function" describes it more closely.

I propose to rename this test instead of also testing for `x: y = z` because the
latter works in edge15-17, while the shorthand version doesn't.
@ljharb
Copy link
Copy Markdown
Member

ljharb commented Jan 16, 2020

Do we then need a separate test for the shorthand version?

@nicolo-ribaudo
Copy link
Copy Markdown
Contributor Author

Good idea, but I don't have any old browser to test it.

@ljharb
Copy link
Copy Markdown
Member

ljharb commented Jan 16, 2020

I'm happy to load up old edge versions in browserstack to add some results if you make the test first :-)

@nicolo-ribaudo
Copy link
Copy Markdown
Contributor Author

⚠️ The data pushed in the last commit is not manually verified. I copied engine support from the other tests, except for Edge. I don't know if the first working version was 14 or 15.

@ljharb
Copy link
Copy Markdown
Member

ljharb commented Jan 16, 2020

hmm, looks like I only have edge 15 and 11 available ("aliased defaults, arrow function" works in 15, syntax errors in 11). Let's clear out the 13/14 results for now.

@nicolo-ribaudo
Copy link
Copy Markdown
Contributor Author

Is it possible to mark 12-14 as unknown? Or should I mark 14 as not working?

@ljharb
Copy link
Copy Markdown
Member

ljharb commented Jan 17, 2020

We currently just leave them unspecified (ie, delete the entries)

@ljharb ljharb merged commit d73b6e5 into compat-table:gh-pages Jan 17, 2020
@nicolo-ribaudo nicolo-ribaudo deleted the rename-arrow-destr-short-def-edge-bug branch January 17, 2020 19:51
nicolo-ribaudo added a commit to nicolo-ribaudo/babel that referenced this pull request Jan 21, 2020
nicolo-ribaudo added a commit to nicolo-ribaudo/babel that referenced this pull request Jan 21, 2020
nicolo-ribaudo added a commit to nicolo-ribaudo/babel that referenced this pull request Jan 27, 2020
nicolo-ribaudo added a commit to babel/babel that referenced this pull request Jan 27, 2020
* Fix compat-data build script

* Update compat table

* Update mappings for transform-parameters

compat-table/compat-table#1570

* Update unrelated fixture

* Update
rajasekarm pushed a commit to rajasekarm/babel that referenced this pull request Feb 17, 2020
* Fix compat-data build script

* Update compat table

* Update mappings for transform-parameters

compat-table/compat-table#1570

* Update unrelated fixture

* Update
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.

2 participants