GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — Improve `super.x` output by liuxingbaoyu · Pull Request #16374 · babel/babel Conversation
|
| Q | A |
|---|---|
| Fixed Issues? | Fixes #1, Fixes #2 |
| Patch: Bug Fix? | |
| Major: Breaking Change? | |
| Minor: New Feature? | |
| Tests Added + Pass? | Yes |
| Documentation PR Link | |
| Any Dependency Changes? | |
| License | MIT |
I personally don't like having to call getPrototypeOf every time because it's slow, but we have a test that relies on this behavior.

Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/57350 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Finally reviewing this, sorry it took so long.
This is covered by the Can you add a test for the execution order between property access and arguments evaluation? let argsEval = false; let err = {}; class A { get x() { throw {} } } class B extends A { method() { super.x(argsEval = true); } } expect(() => new B().method()).toThrow(err); expect(argsEval).toBe(false); |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
dd1bc89 to
92e2168
Compare
There was an error while loading. Please reload this page.
9c609ac to
8cb4293
Compare
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.