Skip to content

Commit c22a222

Browse files
authored
Update CHANGELOG.md (#14044)
1 parent aff4fdb commit c22a222

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Elixir v1.18 is an impressive release with improvements across the two main effo
44

55
## Type system improvements
66

7-
The most exciting change in Elixir v1.18 is typing checking of function calls, alongside gradual inference of patterns and return types. To understand how this will impact your programs, consider the following code:
7+
The most exciting change in Elixir v1.18 is type checking of function calls, alongside gradual inference of patterns and return types. To understand how this will impact your programs, consider the following code:
88

99
```elixir
1010
defmodule User do
@@ -24,7 +24,7 @@ defmodule User do
2424
end
2525
```
2626

27-
Elixir's type system will infer the drive function expects a `%User{}` struct as input and returns either `{:ok, dynamic()}` or `{:error, :no_choice}` or `{:error, :not_allowed}`.
27+
Elixir's type system will infer the `drive` function expects a `%User{}` struct as input and returns either `{:ok, dynamic()}`, `{:error, :no_choice}`, or `{:error, :not_allowed}`.
2828

2929
Therefore, the following code should emit a violation, due to an invalid argument:
3030

@@ -236,7 +236,7 @@ You may also prefer to write using guards:
236236
* [Exception] Add `MissingApplicationsError` exception to denote missing applications
237237
* [Kernel] Update source code parsing to match [UTS #55](https://www.unicode.org/reports/tr55/) latest recommendations. In particular, mixed script is allowed in identifiers as long as they are separate by underscores (`_`), such as `http_сервер`. Previously allowed highly restrictive identifiers, which mixed Latin and other scripts, such as the japanese word for t-shirt, `Tシャツ`, now require the underscore as well
238238
* [Kernel] Warn on bidirectional confusability in identifiers
239-
* [Kernel] Now verify the type of the binary generators
239+
* [Kernel] Verify the type of the binary generators
240240
* [Kernel] Track the type of tuples in patterns and inside `elem/2`
241241
* [Kernel] Perform validation of root AST nodes in `unquote` and `unquote_splicing` to catch bugs earlier
242242
* [Kernel] Add source, behaviour, and record information to Docs chunk metadata

0 commit comments

Comments
 (0)