Skip to content

Conversation

@armano2
Copy link
Contributor

@armano2 armano2 commented Dec 24, 2025

No description provided.

@github-actions github-actions bot added A-minifier Area - Minifier C-enhancement Category - New feature or request labels Dec 24, 2025
@armano2
Copy link
Contributor Author

armano2 commented Dec 24, 2025

This change has similar issue to #16619, as there is no way to check if function uses super

({
  __proto__: proto,
  f: function() {
    return super.pf(); // SyntaxError: 'super' keyword unexpected here
  }
})
({
  __proto__: proto,
  f() {
    const a = () => super.pf(); // uses the same `super` as the enclosing method
    return a();
  }
})

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 24, 2025

CodSpeed Performance Report

Merging #17325 will not alter performance

Comparing armano2:feat/minifier-convert-function-valued-property (e5b5356) with main (b00da37)1

Summary

✅ 38 untouched
⏩ 7 skipped2

Footnotes

  1. No successful run was found on main (b4f8b8a) during the generation of this report, so b00da37 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

  2. 7 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-minifier Area - Minifier C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant