You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Elixir v1.18 is an impressive release with improvements across the two main effo
4
4
5
5
## Type system improvements
6
6
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:
8
8
9
9
```elixir
10
10
defmoduleUserdo
@@ -24,7 +24,7 @@ defmodule User do
24
24
end
25
25
```
26
26
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}`.
28
28
29
29
Therefore, the following code should emit a violation, due to an invalid argument:
30
30
@@ -236,7 +236,7 @@ You may also prefer to write using guards:
236
236
*[Exception] Add `MissingApplicationsError` exception to denote missing applications
237
237
*[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
238
238
*[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
240
240
*[Kernel] Track the type of tuples in patterns and inside `elem/2`
241
241
*[Kernel] Perform validation of root AST nodes in `unquote` and `unquote_splicing` to catch bugs earlier
242
242
*[Kernel] Add source, behaviour, and record information to Docs chunk metadata
0 commit comments