forked from erlang/otp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes Erlang surface syntax more friendly to tooling like formatters, linters, analyzers. Currently, the `-dialyzer(...)` attribute is the only annotating (that is, not affecting semantics) attribute that can be placed everywhere. There is no reason to ban other custom attributes from being placed between functions. The logic that certain `erlc` attributes cannot be placed after functions is preserved This also closes erlang#5689.
- Loading branch information
1 parent
9e38112
commit b25a4bb
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters