Skip to content

Implement pureGetters assumption#12504

Merged
JLHwung merged 2 commits into
babel:feat-7.13.0/babel-core-featuresfrom
JLHwung:assumption/pureGetters
Dec 14, 2020
Merged

Implement pureGetters assumption#12504
JLHwung merged 2 commits into
babel:feat-7.13.0/babel-core-featuresfrom
JLHwung:assumption/pureGetters

Conversation

@JLHwung

@JLHwung JLHwung commented Dec 14, 2020

Copy link
Copy Markdown
Contributor
Q                       A
Minor: New Feature? Yes
Tests Added + Pass? Yes
License MIT

Can confirm that after this PR optional-chaining does not have loose in conditions.

@JLHwung JLHwung added PR: New Feature 🚀 A type of pull request used for our changelog categories Spec: Optional Chaining area: assumptions labels Dec 14, 2020
@babel-bot

Copy link
Copy Markdown
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/35200/

@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 24e5187:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@JLHwung JLHwung merged commit c0f1227 into babel:feat-7.13.0/babel-core-features Dec 14, 2020
@JLHwung JLHwung deleted the assumption/pureGetters branch December 14, 2020 22:46
nicolo-ribaudo pushed a commit to nicolo-ribaudo/babel that referenced this pull request Jan 12, 2021
* feat: allow pureGetters in assumptions

* feat: respect pureGetters assumption
nicolo-ribaudo pushed a commit that referenced this pull request Jan 24, 2021
* feat: allow pureGetters in assumptions

* feat: respect pureGetters assumption
nicolo-ribaudo pushed a commit that referenced this pull request Jan 24, 2021
* feat: allow pureGetters in assumptions

* feat: respect pureGetters assumption
nicolo-ribaudo pushed a commit to nicolo-ribaudo/babel that referenced this pull request Feb 4, 2021
* feat: allow pureGetters in assumptions

* feat: respect pureGetters assumption
nicolo-ribaudo pushed a commit to nicolo-ribaudo/babel that referenced this pull request Feb 10, 2021
* feat: allow pureGetters in assumptions

* feat: respect pureGetters assumption
nicolo-ribaudo pushed a commit to nicolo-ribaudo/babel that referenced this pull request Feb 11, 2021
* feat: allow pureGetters in assumptions

* feat: respect pureGetters assumption
nicolo-ribaudo added a commit that referenced this pull request Feb 16, 2021
- `mutableTemplateObject` and `ignoreToPrimitiveHint` (#12408)
- `setClassMethods` (#12407)
- `setComputedProperties` (#12490)
- `ignoreFunctionLength` (#12491)
- `noDocumentAll` (#12481)
- `iterableIsArray` and `arrayLikeIsIterable` (#12489)
- `pureGetters` (#12504)
- `skipForOfIteratorClosing` (#12496)
- `objectRestNoSymbols`, `setSpreadProperties` and `pureGetters` (#12505)
- `noNewArrows` (#12613, #12793)
- `setPublicClassFields` and `privateFieldsAsProperties` (#12497)
- `constantReexports` and `enumerableModuleMeta` (#12618)
- `constantSuper`, `superIsCallableConstructor` and `noClassCalls` (#12726)

Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
Co-authored-by: Huáng Jùnliàng <JLHwung@users.noreply.github.com>
nicolo-ribaudo added a commit that referenced this pull request Feb 16, 2021
- `mutableTemplateObject` and `ignoreToPrimitiveHint` (#12408)
- `setClassMethods` (#12407)
- `setComputedProperties` (#12490)
- `ignoreFunctionLength` (#12491)
- `noDocumentAll` (#12481)
- `iterableIsArray` and `arrayLikeIsIterable` (#12489)
- `pureGetters` (#12504)
- `skipForOfIteratorClosing` (#12496)
- `objectRestNoSymbols`, `setSpreadProperties` and `pureGetters` (#12505)
- `noNewArrows` (#12613, #12793)
- `setPublicClassFields` and `privateFieldsAsProperties` (#12497)
- `constantReexports` and `enumerableModuleMeta` (#12618)
- `constantSuper`, `superIsCallableConstructor` and `noClassCalls` (#12726)

Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
Co-authored-by: Huáng Jùnliàng <JLHwung@users.noreply.github.com>
nicolo-ribaudo added a commit that referenced this pull request Feb 21, 2021
- `mutableTemplateObject` and `ignoreToPrimitiveHint` (#12408)
- `setClassMethods` (#12407)
- `setComputedProperties` (#12490)
- `ignoreFunctionLength` (#12491)
- `noDocumentAll` (#12481)
- `iterableIsArray` and `arrayLikeIsIterable` (#12489)
- `pureGetters` (#12504)
- `skipForOfIteratorClosing` (#12496)
- `objectRestNoSymbols`, `setSpreadProperties` and `pureGetters` (#12505)
- `noNewArrows` (#12613, #12793)
- `setPublicClassFields` and `privateFieldsAsProperties` (#12497)
- `constantReexports` and `enumerableModuleMeta` (#12618)
- `constantSuper`, `superIsCallableConstructor` and `noClassCalls` (#12726)

Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
Co-authored-by: Huáng Jùnliàng <JLHwung@users.noreply.github.com>
@github-actions github-actions Bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Mar 16, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: assumptions outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: New Feature 🚀 A type of pull request used for our changelog categories Spec: Optional Chaining

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants