+
Skip to content

Conversation

arendjr
Copy link
Contributor

@arendjr arendjr commented Aug 5, 2025

Summary

Fixed #6985: Inference of return types no longer mistakenly picks up return types of nested functions.

For all Biome devs: This PR introduces a nice utility that makes it easier to prune subtrees during node traversal: look for the pruned_descendents() method.

Test Plan

Test added.

Docs

N/A

@arendjr arendjr requested review from a team August 5, 2025 08:29
Copy link

changeset-bot bot commented Aug 5, 2025

🦋 Changeset detected

Latest commit: 0e8d81b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@biomejs/biome Patch
@biomejs/cli-win32-x64 Patch
@biomejs/cli-win32-arm64 Patch
@biomejs/cli-darwin-x64 Patch
@biomejs/cli-darwin-arm64 Patch
@biomejs/cli-linux-x64 Patch
@biomejs/cli-linux-arm64 Patch
@biomejs/cli-linux-x64-musl Patch
@biomejs/cli-linux-arm64-musl Patch
@biomejs/wasm-web Patch
@biomejs/wasm-bundler Patch
@biomejs/wasm-nodejs Patch
@biomejs/backend-jsonrpc Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added A-Core Area: core A-Linter Area: linter L-JavaScript Language: JavaScript and super languages A-Type-Inference Area: type inference labels Aug 5, 2025
Copy link

codspeed-hq bot commented Aug 5, 2025

CodSpeed Performance Report

Merging #7106 will not alter performance

Comparing arendjr:fixed-return-type-inference (0e8d81b) with main (29fcb05)

Summary

✅ 128 untouched benchmarks

@github-actions github-actions bot added the A-Project Area: project label Aug 5, 2025
@arendjr arendjr merged commit 236deaa into biomejs:main Aug 5, 2025
31 checks passed
@github-actions github-actions bot mentioned this pull request Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Core Area: core A-Linter Area: linter A-Project Area: project A-Type-Inference Area: type inference L-JavaScript Language: JavaScript and super languages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

noFloatingPromise lint error

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载