José Valim
ef5916bb67
Refactor and normalize format
2022-10-27 23:29:09 +02:00
sabiwara
8feb6c223c
Use orelse in for guard ( #12217 )
2022-10-27 07:27:41 +02:00
Andrea Leopardi
986f93f57e
Add spec for DateTime.from_iso8601/2 ( #12215 )
2022-10-25 19:26:55 +02:00
José Valim
386113af86
Include snippets in more syntax errors
2022-10-25 12:52:20 +02:00
José Valim
8f57c0ed1b
Update notes on |
2022-10-25 10:36:40 +02:00
Marc-André Lafortune
f63e600c6c
Add precision to error message ( #12213 )
2022-10-25 10:29:28 +02:00
Łukasz Samson
8c398c26eb
Fix tracer on_module docs ( #12211 )
...
it's available since 1.13
2022-10-23 10:09:40 +02:00
José Valim
d739957b3d
Expand left side of -> in rescue, closes #12209
2022-10-21 17:04:25 +02:00
José Valim
26a4f3cefd
Consider closing ) on keyword break, closes #12206
2022-10-19 11:36:41 +02:00
sabiwara
5e818fc176
Fix formatter: size*unit shortcut in bitstring ( #12201 )
2022-10-14 21:49:11 +02:00
Schnittchen
92eecc7ae8
Fix DynamicSupervisorExample: pass strategy option ( #12200 )
2022-10-14 17:01:08 +02:00
José Valim
0a1a5991d9
Remove unecessary parens in nullary type funs
2022-10-14 13:55:23 +02:00
Icia Carro Barallobre
260e72d2b7
Improve replace documentation of module regex ( #12197 )
2022-10-13 19:23:39 +02:00
Trashpanda
e8effd97c9
Fix Time.add/3 documentation ( #12193 )
...
`:day` is not supported.
2022-10-12 20:46:45 +02:00
Marc-André Lafortune
fb9937b0f7
Add more doc to debug_info ( #12192 )
2022-10-12 18:13:30 +02:00
Paulo Valim
18957c1aff
Use clearer style in Enum examples ( #12187 )
2022-10-11 18:24:15 +02:00
José Valim
e070d4fbf4
Use correct column in invalid alias terminator
2022-10-11 14:56:34 +02:00
José Valim
ff5dcc804e
Expand :for in protocols with the appropriate env
2022-10-11 14:50:59 +02:00
Trashpanda
2dc396307d
Add some minor edits to the struct docs ( #12185 )
2022-10-11 09:22:12 +02:00
José Valim
41f7f47a6c
Improve URI tests
2022-10-08 22:21:33 +02:00
Michał Łępicki
cd5932a9b0
Expand default compile_env argument in expand literals ( #12181 )
2022-10-08 21:07:20 +02:00
Schnittchen
4339ee9154
Fix URI.merge using the examples from rfc3986 ( #12180 )
2022-10-08 19:48:55 +02:00
José Valim
9fb3cf6030
Fix ambiguity in &INT with brackets
2022-10-08 10:52:37 +02:00
José Valim
a2d57cb48a
expand_literal -> expand_literals
2022-10-07 11:57:12 +02:00
José Valim
8447db887b
Add Macro.expand_literals/2 and do partial literal expansion in @
...
Closes #12174 .
2022-10-07 11:43:17 +02:00
Eksperimental
22140eaa3a
Add doctests for Kernel.ceil/1 and Kernel.floor/1 ( #12176 )
2022-10-06 19:16:55 +02:00
sabiwara
26d050e65b
Handle unused :uniq comprehensions ( #12116 )
2022-10-05 10:42:56 +02:00
Sam Lin
5c1f2b0463
Fix range first and last description in module doc ( #12169 )
2022-10-04 16:23:09 +02:00
José Valim
9aa1f6f368
More tests for malformed sequences
2022-10-04 16:14:14 +02:00
George Rodrigues
89d831d67e
fix: typos on test and docs ( #12167 )
2022-10-04 14:53:09 +02:00
José Valim
759e7edb4f
Improve coverage of malformed sequences in String
2022-10-03 12:41:41 +02:00
José Valim
0b79500ea9
Ignore malformed pictographic sequences, closes #12165
2022-10-03 12:13:11 +02:00
José Valim
f969c14561
Touch up hibernation description
2022-10-03 12:09:51 +02:00
sabiwara
1d0100e394
Fix algebra edge case on :erlang.binary_to_atom/2 ( #12163 )
2022-10-02 23:32:31 +02:00
José Valim
42eacb8a67
mix format
2022-09-30 18:54:34 +02:00
José Valim
87aeda3c59
Properly handle list output of :unicode_util.gc/1, closes #12160
2022-09-30 18:48:47 +02:00
José Valim
b7dd72f567
Improve error message for invalid % { syntax
2022-09-27 18:56:29 +02:00
Wojtek Mach
009b885672
Add ExUnit.DocTest.doctest_file/2 ( #12150 )
2022-09-27 18:00:16 +02:00
José Valim
9aca91ce06
Improve error message for too many arguments in access
2022-09-27 17:51:23 +02:00
José Valim
4a660784e5
Add Range.split/2
2022-09-25 10:09:24 +02:00
José Valim
29ed6925b3
Warn for nested calls without parens inside keywords
2022-09-24 16:50:07 +02:00
Simon Prévost
b7083180a6
Add complete list of time units on DateTime.add/3 argument error ( #12152 )
2022-09-23 17:24:39 +02:00
José Valim
e5458b02f1
Fix signature order in type checkings messages, closes #11744
2022-09-23 13:38:13 +02:00
José Valim
8fc61e0ebd
Do not recursively traverse vars to simplify checker, closes #12149
2022-09-23 13:38:13 +02:00
José Valim
47e05c4d76
Remove head blocking on Task.yield_many/2
...
`yield_many/2` would previously block waiting for
the reply from the first task, then the second task,
and so on.
However, if the first task was slow, it means the
message inbox would grow quickly, only to be processed
later.
This commit makes it so messages are consumed as they
arrive. This yields better performance but uses more
memory as all results have to be accumulated first.
Then, finally, there is one last pass on the data to
associate results to tasks. Given this additional pass,
we now also support killing or ignoring tasks directly
from Task.yield_many/2.
2022-09-23 13:38:13 +02:00
Jeramy Singleton and Jeramy Singleton
ec5f360b38
Removes calls to exception raising functions in cp ( #12146 )
...
Closes #12145 .
Co-authored-by: Jeramy Singleton <wisingle@microsoft.com >
2022-09-20 17:46:05 +02:00
maintenance-beam-app
e8d8e7d693
Update Unicode to version 15.0.0 ( #12143 )
...
This is an automated commit created by the Maintenance project
https://github.com/eksperimental/maintenance
Before merging, please read the release notes by visiting
<http://www.unicode.org/versions/Unicode15.0.0/ >
and assess if additional changes are necessary in the code base.
2022-09-18 00:04:19 +02:00
José Valim
fb1ce86b2e
Review Unicode documents according to Unicode 15
...
Closes #12142 .
2022-09-17 17:46:50 +02:00
José Valim
993d978406
Fix checker on missing debug info, closes #12140
2022-09-16 10:06:22 +02:00
José Valim
d665531554
Clarify who does the logging in supervisor docs
2022-09-16 09:45:16 +02:00