José Valim
bb8d111e20
Define how to_existing_atom works within modules, closes #11786
2022-04-30 19:06:59 +02:00
José Valim
5868f09043
Warn if a protocol has no definition, closes #11588
2022-04-26 19:17:06 +02:00
José Valim
d9e0956259
Do not collapse small floats, closes #761
2022-04-26 15:09:32 +02:00
Jonatan Männchen
418e3ee198
Add error details to ErlangError ( #11779 )
2022-04-25 20:18:24 +02:00
John Bampton
83467dec72
Remove trailing whitespace ( #11782 )
2022-04-25 15:25:31 +02:00
José Valim
f9400f2b75
Evaluate --dot-iex line by line
2022-04-25 12:10:35 +02:00
Jonatan Männchen
706f33d0b0
Return no_translation error in StringIO put_chars as in Erlang ( #11756 )
2022-04-25 12:05:01 +02:00
Eksperimental
a23dc1412d
Supress output in doctest in String module ( #11776 )
2022-04-24 17:48:58 +02:00
Eksperimental
8be69ed145
Remove warning in Kernel default tests ( #11777 )
...
The following warning was in the output of the test
warning: variable "foo" does not exist and is being expanded to "foo()", please use parentheses to remove the ambiguity or change the variable name
test/elixir/kernel/defaults_test.exs:75: Kernel.DefaultsTest.Kernel.ErrorsTest.ClauseWithDefaults5.hello/2
2022-04-24 17:35:15 +02:00
José Valim
3bd0574fa2
Do not generate more stacktrace than support on eval errors
2022-04-23 21:57:16 +02:00
José Valim
7dd9f3e7da
Use stdio when boot fails to avoid cutoffs
2022-04-23 10:05:20 +02:00
sabiwara
115a3b4717
Optimize Enum.with_index/2 for lists ( #11765 )
2022-04-22 08:20:55 +02:00
Jonatan Kłosko
5d46d6c117
Fix System.shell/2 command escaping on Unix ( #11767 )
2022-04-21 15:18:17 +02:00
José Valim
c565eb1a22
Talk about the byte representation
2022-04-19 19:33:29 +02:00
José Valim
2eb65f35a3
Improve docs for Unicode on String
2022-04-19 19:30:17 +02:00
José Valim
007c2e9a5a
Move error cases to new defaults_test.exs
2022-04-16 15:07:30 +02:00
sabiwara
1c3ef5ab99
Fix variable declaration in default argument block ( #11758 )
2022-04-16 14:59:20 +02:00
José Valim
d93577ecfa
Clarify what the correct xor precedence should have been
2022-04-16 13:50:35 +02:00
felipe stival
e46c55a4b7
Mention key optionality for literal keyword typespecs ( #11757 )
2022-04-13 15:33:21 +02:00
José Valim
b0abba191c
Revert "Add compile-time dependencies on require"
...
This change added an inconsistency in that imports
also require, but they added different types of
dependencies. This must be handed properly in
libraries instead.
2022-04-11 21:52:47 +02:00
José Valim
f067abaf11
Remove duplication in unicode tokenizer
2022-04-09 09:46:56 +02:00
Wei Huang
74c23460bf
Make Registry.send work when value part is present ( #11742 )
...
Fix #11740 .
2022-04-05 10:25:45 +02:00
Wei Huang
033f123def
Add ws and wss port configuration to URIConfig ( #11738 )
2022-04-01 12:40:44 +02:00
Billy Peake
08d11a0841
Fix Version.parse/1 incorrectly stripping dots from field ( #11736 )
2022-03-29 08:25:48 +02:00
Daven
7ef962fe30
Warn if any of True, False, and Nil aliases are used ( #11731 )
2022-03-28 07:28:34 +02:00
Daniel Khaapamyaki
e484b855c4
Improve docs for then and tap ( #11730 )
2022-03-28 07:23:54 +02:00
José Valim
b4a9b6606f
Use EEP 54 pretty printer option
2022-03-25 11:52:19 +01:00
Michał Łępicki
7c5d5f414b
Do not mention compatibility in @dialyzer attr doc ( #11725 )
...
The feature was added in OTP-18 https://github.com/erlang/otp/commit/25ab719cfaf42d196287fec2171bf3eefb845b62
Latest Elixir supports OTP-22 or newer
2022-03-25 10:08:56 +01:00
Mark McElroy
956db5c3ba
fix typo in the supervisor docs ( #11723 )
2022-03-25 04:14:43 +01:00
José Valim
0fdca7b8ac
Improve error message clarity
2022-03-23 18:48:42 +01:00
Andrey Yugai
69334dd50a
Do not mention charlist segments in <<>>/1 docs ( #11718 )
2022-03-23 17:28:18 +01:00
Michał Łępicki
746bbb0679
Change map updates type checking direction ( #11713 )
2022-03-21 15:59:32 +01:00
dariodf
6b2a365f46
Support ISO8601 basic format parsing with DateTime.from_iso8601 ( #11703 )
2022-03-15 13:01:06 +01:00
José Valim
8dd4fb0593
Improve docs for throw
2022-03-15 11:09:18 +01:00
sabiwara
d509be1b6f
Add line in diagnostic for invalid struct key ( #11701 )
2022-03-13 09:06:06 +01:00
Mat Trudel
29b046127b
Document how to manually build URI structs ( #11688 )
2022-03-12 17:00:28 +01:00
sabiwara
71d410d0c8
Fix bug when formatting :"\\" ( #11699 )
2022-03-12 16:58:55 +01:00
Mohamed Sabry Hegazy
7c4e3961c6
Add space before argument for documentation consistency ( #11690 )
2022-03-09 11:24:51 +01:00
Michał Łępicki
f81b353e92
Update Inspect.Algebra.fits?/5 spec ( #11683 )
...
It is now being called with :infinity atom as width
2022-03-04 17:40:45 +01:00
Nathan Long
023bdd0733
Add examples other than keyword lists ( #11680 )
2022-03-03 22:07:54 +01:00
José Valim
1ede05bef6
Add no_limit to Inspect.Algebra
...
Closes #11675 .
2022-03-03 18:23:56 +01:00
José Valim
0213467f90
Update CHANGELOG
2022-03-03 10:16:42 +01:00
Joe Martinez
2824a72b18
Add Range.shift/2 ( #11676 )
2022-03-03 10:05:54 +01:00
Willian Frantz
db27c78ff9
Improve Macro.pipe/3 docs ( #11679 )
2022-03-02 18:53:18 +01:00
Michał Łępicki
b7b66aaf5c
Tweak type unification to fix infinite loop with recursive vars ( #11664 )
2022-02-28 14:47:16 +01:00
Wojtek Mach
cfadc246bd
Fix Enumerable.slice docs ( #11672 )
2022-02-28 12:23:05 +01:00
José Valim
08edb70dba
Only keep input in async_stream if necessary
2022-02-28 09:59:38 +01:00
Vitalik
faded51635
Add zip_input_on_exit option to Task.async_stream ( #11668 )
2022-02-28 09:16:01 +01:00
José Valim
c8cb8b7d50
Improve eval stacktraces on Erlang/OTP 25+ ( #11665 )
2022-02-24 19:07:22 +01:00
José Valim
0fd98188ff
Skip --rpc-eval missing arg test on Windows
2022-02-24 19:05:55 +01:00