Leandro Pereira
3edac7c6a3
system_test - link instead of copy to bypass macos 13 codesign ( #12327 )
...
Fix #12290
2023-01-10 20:46:33 +01:00
sabiwara
36a99359f4
Fix Macro.to_string/1 for large negative integers ( #12326 )
2023-01-10 10:50:34 +01:00
José Valim
6b7e99e50f
Support :lines in System.cmd/3 ( #12323 )
2023-01-09 10:59:03 +01:00
Leandro Pereira
8014350645
Pretty print KeyError exception message ( #12322 )
2023-01-06 23:23:47 +01:00
José Valim
79bebf971f
Use new Code.loaded?/1
2023-01-06 23:13:56 +01:00
José Valim
7def1fdae9
Remove unecessary :beam_lib.info/1 call, closes #12317
2023-01-06 12:11:24 +01:00
Greg Mefford
f8540ab193
Add details about waiting information in --profile time compiler output ( #12310 )
2023-01-04 23:31:21 +01:00
José Valim
7b73407af8
Respect line breaks after =
...
Many editors use indentation for collapsing
so folks may want to use `var =` followed by
new line to collapse. This PR makes it possible
and aligns `=` with other operators.
2023-01-04 12:06:58 +01:00
felipe stival
ca9ecc16c4
Add Code.loaded?/1 ( #12314 )
2022-12-26 12:38:18 +01:00
José Valim
aacf524520
Add linear time disclaimer
2022-12-23 21:57:19 -03:00
Susumu Yamazaki
a5cd1b958c
Add sample code to Stream.unfold/2 ( #12309 )
2022-12-23 13:22:14 +01:00
Aaron Renner
a9e49ab9ed
Add URI.append_path/2 ( #12298 )
2022-12-21 22:56:16 +01:00
Nick Bugaiov
79f717d813
writing-documentation: removed redundant link ( #12308 )
...
Removed a link that points the second time to the same markdown documentation
2022-12-21 22:00:02 +01:00
José Valim
581076f73c
Improve docs for dbg and IEx
2022-12-21 17:28:08 -03:00
José Valim
3e35c728da
Consistently merge precisions in Calendar subsecond operations, closes #12303
2022-12-18 12:18:17 +01:00
José Valim
d8578a5a5d
Escape maps when expanding __ENV__
2022-12-12 19:31:03 +01:00
José Valim
3186819506
Apply rearrange ops only inside parens, closes #12296
2022-12-10 19:27:26 +01:00
Boris Verkhovskiy
990367a037
Document \u{} escapes ( #12295 )
2022-12-09 08:11:14 +01:00
José Valim
c6bce1b115
Precompile runtime module paths
2022-12-08 07:02:56 +01:00
José Valim
2b1efdea7a
Revert "Ensure all runtime_modules loaded before mapping their paths ( #12287 )"
...
We don't want to load all modules because some may have specified
`@compile {:autoload, false}`.
This reverts commit 28e22d090c .
2022-12-08 06:39:31 +01:00
José Valim
07736b4212
Add a note on async inside GenServer
2022-12-07 11:11:47 +01:00
José Valim
11f4372848
Fix line references
2022-12-07 11:04:47 +01:00
José Valim
8018f2816e
mix format
2022-12-07 10:33:03 +01:00
Zacck
b513926ee8
Implement and raise Kernel.TypespecError ( #12291 )
2022-12-07 10:13:22 +01:00
bo0tzz
99b6ee89af
Fix circular reference in Enum.count_until/3 docstring ( #12288 )
2022-12-06 11:58:33 +01:00
Alex Naser and Alex Naser
28e22d090c
Ensure all runtime_modules loaded before mapping their paths ( #12287 )
...
Co-authored-by: Alex Naser <alex.naser@remote.com >
2022-12-05 20:45:41 +01:00
Nathan Long
32b71f2658
Clarify partition supervisor ( #12286 )
2022-12-05 19:53:43 +01:00
José Valim
3a1352649e
Fix Range.disjoint?/2
2022-12-05 16:18:11 +01:00
José Valim
b570d33c9f
Optimize range membership implementation, closes #12282
2022-12-04 13:02:38 +01:00
sabiwara
4b5097ca6d
Add :on_undefined_variable compiler option ( #12279 )
2022-12-03 18:41:41 +01:00
José Valim
b8a4292475
Improve warning for pin
2022-11-29 10:54:47 +01:00
José Valim
d634355ace
Fix code comment
2022-11-29 08:18:13 +01:00
José Valim
d716c72f6f
More error handling adjustments
2022-11-28 16:36:37 +01:00
José Valim
da637b7523
Collect function errors where possible in elixir_bitstring and elixir_expand
2022-11-28 16:15:34 +01:00
José Valim
b24869687b
Introduce mechanism to collect several errors in a module ( #12275 )
2022-11-28 15:40:30 +01:00
sabiwara
7ebfcc7de9
Fix formatter error on nested do without parenthesis ( #12274 )
2022-11-27 15:15:18 +01:00
sabiwara
e58f70a65c
Refactor: use :elixir_bitstring to avoid duplication ( #12271 )
2022-11-25 16:00:37 +01:00
sabiwara
3b41b84a3a
Macro.quoted_literal?/1 supports bitstring literals ( #12270 )
2022-11-25 11:27:17 +01:00
Thanabodee Charoenpiriyakij
feb9b6e331
Fix Calendar.strftime/2 format negative year incorrectly ( #12268 )
...
Closes #12266
2022-11-24 09:36:41 +01:00
Eksperimental
137ad74307
Fix {Keyword, Map}.get_and_update!/3 specs ( #12265 )
...
This removes `nil` from the spec, as `nil` is not returned
as it happens with get_and_update/3.
2022-11-23 19:57:31 +01:00
José Valim
b3c65ca9ea
Do not crash for missing line info on type warnings
...
Closes #12263 .
2022-11-23 05:33:51 +01:00
José Valim
428242e64c
Do not warn on captured underscored vars from defmodule
...
Closes #12262
2022-11-23 05:19:47 +01:00
sabiwara
c6b7302f79
Fix invalid typespec: struct ( #12259 )
2022-11-22 16:39:45 +01:00
sabiwara
0f934e2bbb
Fix compiler crash on invalid local call typespec ( #12258 )
2022-11-22 08:02:04 +01:00
Nick Krichevsky
182c3bacc8
Clarify that Task.Supervisor.async_nolink/3 must also have a :temporary restart strategy ( #12257 )
2022-11-21 18:40:26 +01:00
Nathan Long
a4b0a2e578
Another clarification for terminate/2 ( #12256 )
2022-11-21 17:15:16 +01:00
Marcus Kruse
df84311337
Fix wildcard edge case ( #12255 )
2022-11-20 11:05:57 +01:00
Nathan Long
206d010986
Clarify docs on terminate/2 ( #12251 )
...
- Explain what 'parent process' means in this context
- Explain when `c:terminate/2` is useful vs a monitor
- Move the "not guaranteed" warning higher up in the description
2022-11-19 10:36:08 +01:00
sabiwara
9213d07476
Fix unused for optimization ( #12252 )
2022-11-19 10:27:01 +01:00
Damir Vandic
7a7ca7e978
Fix docs for new EnvError ( #12250 )
2022-11-18 15:13:48 +01:00