Skip to content

compiler: Miscellaneous fixes#11347

Open
lucioleKi wants to merge 5 commits into
erlang:masterfrom
lucioleKi:isabell/compiler/cs-fixes-1
Open

compiler: Miscellaneous fixes#11347
lucioleKi wants to merge 5 commits into
erlang:masterfrom
lucioleKi:isabell/compiler/cs-fixes-1

Conversation

@lucioleKi

Copy link
Copy Markdown
Contributor

See individual commits for details.

@lucioleKi lucioleKi self-assigned this Jul 8, 2026
@lucioleKi lucioleKi added the team:VM Assigned to OTP team VM label Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

    3 files    420 suites   1h 13m 53s ⏱️
3 048 tests 2 997 ✅ 51 💤 0 ❌
8 251 runs  8 195 ✅ 56 💤 0 ❌

Results for commit 99a724d.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

lucioleKi added 5 commits July 9, 2026 09:49
Fix an unsafe destructive update when the updated record is the result
of BIF `min/2` or `max/2`.
Previously, if the type pass found out `X` is a number, `X div 1` would
become `X`. This is incorrect when `X` is a float. Drop this
optimization for div when the type pass cannot ensure that `X` is
an integer.
…ing/1`

Previously, a badly-formed `-deprecated_type` or
`-deprecated_callback` could be allowed by `erl_lint.erl`,
and then crashes in `beam_docs:info_string/1`. Add
extra checks to avoid this crash.
@lucioleKi lucioleKi force-pushed the isabell/compiler/cs-fixes-1 branch from 3fcda30 to 99a724d Compare July 9, 2026 07:49
@lucioleKi lucioleKi added the testing currently being tested, tag is used by OTP internal CI label Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant