Skip to content

dialyzer: fixes multiple fns declared in same line - #11466

Merged
kikofernandez merged 1 commit into
erlang:maintfrom
kikofernandez:kiko/dialyzer/fix-typer-issue-when-multiple-funs-declare-in-same-line/OTP-20297
Aug 12, 2026
Merged

dialyzer: fixes multiple fns declared in same line#11466
kikofernandez merged 1 commit into
erlang:maintfrom
kikofernandez:kiko/dialyzer/fix-typer-issue-when-multiple-funs-declare-in-same-line/OTP-20297

Conversation

@kikofernandez

@kikofernandez kikofernandez commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Typer crashes when multiple functions are written in the same line.
For example, the following crashes typer

-module(m).
f() -> ok. g() -> ok.

While this is not idiomatic code, typer should not crash, and should print the function specs accordingly

Typer crashes when multiple functions are written in the same line.
For example, the following crashes `typer`

```
-module(m).
f() -> ok. g() -> ok.
```

While this is not idiomatic code, `typer` should not crash, and should
print the function specs accordingly
@kikofernandez kikofernandez added the team:VM Assigned to OTP team VM label Aug 11, 2026
@kikofernandez kikofernandez self-assigned this Aug 11, 2026
@kikofernandez kikofernandez added the team:VM Assigned to OTP team VM label Aug 11, 2026
@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

  2 files   42 suites   13m 7s ⏱️
485 tests 481 ✅ 4 💤 0 ❌
573 runs  569 ✅ 4 💤 0 ❌

Results for commit 0b0dccf.

♻️ 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

@kikofernandez kikofernandez added the testing currently being tested, tag is used by OTP internal CI label Aug 11, 2026
@kikofernandez
kikofernandez merged commit 4448feb into erlang:maint Aug 12, 2026
31 checks passed
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.

2 participants