Skip to content

Revert function parameter tracking logic for now#5487

Merged
lukastaegert merged 1 commit intomasterfrom
revert-function-parameter-tracking
Apr 23, 2024
Merged

Revert function parameter tracking logic for now#5487
lukastaegert merged 1 commit intomasterfrom
revert-function-parameter-tracking

Conversation

@lukastaegert
Copy link
Copy Markdown
Member

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

Considering some of the unsolved issues we have at the moment, this will revert function parameter tracking for now.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2024 0:55am

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 23, 2024

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#revert-function-parameter-tracking

Notice: Ensure you have installed Rust nightly. If you haven't installed it yet, please first see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust, then see https://rust-lang.github.io/rustup/concepts/channels.html to learn how to install Rust nightly.

or load it into the REPL:
https://rollup-3uvo4l3bi-rollup-js.vercel.app/repl/?pr=5487

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.81%. Comparing base (b9a62fd) to head (81061bb).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5487      +/-   ##
==========================================
- Coverage   98.83%   98.81%   -0.03%     
==========================================
  Files         238      238              
  Lines        9563     9451     -112     
  Branches     2446     2408      -38     
==========================================
- Hits         9452     9339     -113     
- Misses         46       47       +1     
  Partials       65       65              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lukastaegert lukastaegert merged commit 74da135 into master Apr 23, 2024
@lukastaegert lukastaegert deleted the revert-function-parameter-tracking branch April 23, 2024 13:02
@github-actions
Copy link
Copy Markdown

This PR has been released as part of rollup@4.16.4. You can test it via npm install rollup.

liuly0322 added a commit to liuly0322/_rollup that referenced this pull request Apr 24, 2024
Revert "Revert function parameter tracking logic for now (rollup#5487)"

This reverts commit 74da135.
github-merge-queue bot pushed a commit that referenced this pull request Apr 27, 2024
* feat: re-init function parameter tracking

Revert "Revert function parameter tracking logic for now (#5487)"

This reverts commit 74da135.

* refactor: see #5483 comments. squashed with some style commits

style: move deoptimizeCache logic

style: naming

style: naming

remove useless comment

style: small update

* make sure every addUsedPlace has a requestTreeshakingPass

This is to make sure if onlyFunctionCallUsed becomes false,
there is a new tree-shaking pass to deoptimize it

* fix: missing reassigned guard
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.

1 participant