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
José Valim
ce02551c57
Raise error message on missing metadata
2022-09-15 20:18:57 +02:00
José Valim
fb97f39fc9
Handle :port :undefined on URI.new
2022-09-15 19:40:04 +02:00
Salva Ruiz
104089f3e7
Fix a typo in Supervisor doc ( #12136 )
2022-09-15 17:08:36 +02:00
José Valim
00e2ed694d
Add :close_stdin to System.shell/2
...
It defaults to false as that was the behaviour
in past Elixir versions.
Closes #12135 .
2022-09-15 00:09:15 +02:00
José Valim
81cb1bd7c2
is binding -> binds
2022-09-14 00:56:45 +02:00
Pablo Margreff
1243b29485
Improve misc of docs for guards ( #12127 )
2022-09-10 09:19:56 +02:00
José Valim
3ee1e83eef
Remove parser ambiguity within stepped ranges
2022-09-10 00:32:13 +02:00
José Valim
755b25249b
Improve error message for unbound _
2022-09-09 22:26:35 +02:00
José Valim
e60e59d9ce
Fix race in dynamic supervisor suite
2022-09-09 21:10:47 +02:00
José Valim
3a1e059c87
Fix bootstrap
2022-09-09 09:36:37 +02:00
José Valim
fbb0420b08
Do not delete enforce_keys on defstruct, closes #12126
2022-09-09 09:24:46 +02:00
José Valim
7a3638c7c1
Consistently use normalize prefix for AST changing options
2022-09-07 15:55:37 +02:00
José Valim
c8fdbe89b7
Do not process binary modifiers as variables during type checking, closes #12121
2022-09-07 15:45:10 +02:00
Michael Adkins
4dd730267a
Add commas to bare usage of "however" where appropriate ( #12119 )
2022-09-06 20:29:01 +02:00
José Valim
904072081a
Raise on missing struct for module conflict, closes #12113
2022-09-04 16:01:37 +02:00
sabiwara
239ae0877a
Handle syntax_colors in quoted_to_algebra and dbg ( #12106 )
2022-09-04 15:10:22 +02:00
Michał Łępicki
e8d6c0529b
Do not use Keyword.split_with/2 on a list of atoms ( #12112 )
2022-09-03 09:24:06 +01:00
Chris Miller
2bfa617acd
Add Map.split_with/2, MapSet.split_with/2 and Keyword.split_with/2 ( #11482 )
2022-09-02 23:59:21 +02:00
Dimitar Panayotov
d43b1b8c12
Add missing word in docs ( #12111 )
2022-09-02 23:38:18 +02:00
Marc-André Lafortune
b5d40c6f99
Behaviour as runtime dependency ( #12103 )
2022-08-30 08:34:08 +02:00
José Valim
c94924a6c2
List compile-time deps for after_verify
2022-08-29 23:37:21 +02:00
José Valim
aeb4b29537
@after_verify should define compile-time modules
2022-08-29 10:57:07 +02:00
José Valim
d6f51025fa
Mention IEx behaviour in dbg docs
2022-08-29 08:45:57 +02:00
Andrea Leopardi
01ded3880b
Don't raise on overflowing floats in Float.parse/1 ( #12099 )
...
When floats are expressed in scientific notation,
:erlang.binary_to_float/1 can raise an ArgumentError if the e exponent
is too big. For example, "1.0e400". Because of this, we rescue the
ArgumentError and return an error.
2022-08-27 11:43:42 +02:00
José Valim
7a8e5f1d05
Fix module attribute with empty list in Macro.to_string, closes #12097
2022-08-26 08:56:20 +02:00
Andrea Leopardi
2370810002
Raise when using Macro.dbg/3 in guards or matches ( #12094 )
2022-08-24 08:47:53 +02:00
José Valim
2a78d378cd
Add TODOs
2022-08-23 08:53:38 +02:00
José Valim
937cece227
Improve error message
2022-08-22 11:27:49 +02:00
sabiwara
6d49e51287
Update charlist documentation ( #12091 )
2022-08-20 12:40:18 +02:00
José Valim
b9e1d7cfbe
Fix heisentest
2022-08-19 12:49:37 +02:00
José Valim
5b4956fe5f
Use the result mapping to track waiting processes
2022-08-19 12:38:01 +02:00
José Valim
5af48aaab8
Keep waiting in parallel compiler as a map for faster lookups
2022-08-19 11:26:15 +02:00
José Valim
4ce0376e76
Only consume DOWN messages dedicated to the parallel compiler, closes #12087
2022-08-19 09:49:03 +02:00
José Valim
8c128beebc
Only link checker process when we have to do some work
2022-08-17 20:28:32 +02:00