Commit Graph
15632 Commits
Author SHA1 Message Date
José Valim 4e5a8d48ba Update CHANGELOG 2023-04-03 09:31:59 +02:00
sabiwara acb5832c69 Fix dialyzer tests in OTP26 (#12486) 2023-04-03 09:28:11 +02:00
Zach Allaun f026cb3756 Fix column count when tokenizing escaped interpolations (#12504) 2023-03-30 23:04:21 +02:00
joepstender 73d58ec01b Fix typo in documentation (#12496) 2023-03-25 14:18:54 +01:00
José Valim e9a6c9e3b3 No need to revert trap exits 2023-03-24 23:17:23 +01:00
Kevin 237f3bc566 Backport test fixes (#12493) 2023-03-24 10:51:12 +01:00
Kevin 1a7545655c Update tests to new OTP start behaviour (#12490) 2023-03-23 15:23:52 +01:00
sabiwara 22fa810200 Fix logger formatting in OTP26 (#12434) 2023-03-23 14:12:40 +01:00
José Valim c3e0908c52 Clarify error message on missing certificates 2023-03-23 11:50:53 +01:00
Erick Dennis 3d0273afb3 Don't call formatter on directories (#12488) 2023-03-23 11:50:53 +01:00
Kevin 2b9d8b720e Add explicit :verify_none for httpc (#12485) 2023-03-23 11:50:22 +01:00
Alexandre a8824bab09 Fix Stream.zip/1 hanging on empty list (#12461) 2023-03-10 21:49:30 +01:00
José Valim 476b4fdf6e Bump timeout to infinity 2023-03-02 19:19:16 +01:00
Kevin 2229ed7924 Sort metadata before printing (#12440) 2023-03-02 11:34:46 +01:00
sabiwara f9c053d60c Make mix test reports deterministic in OTP26 (#12438)
* Make mix test reports deterministic in OTP26

The reports for the following were both relying on map keys ordering:
- mix test
- mix test.cover

* Fix non-deterministic test
2023-03-02 07:59:53 +01:00
sabiwara 1108a6c3d2 Fix more map inspection tests (#12433) 2023-02-28 12:56:27 +01:00
Shilov Konstantin 32c929b339 fix(supervisor): update documentation by call instead of cast (#12426) 2023-02-26 20:11:21 +01:00
José Valim f596cf1629 Use get_until in IEx.Server
This change is necessary for forward compatibility
with Erlang/OTP 26+.
2023-02-23 15:08:03 +01:00
José Valim 12927b8840 Do not use private APIs in StringIO 2023-02-23 15:08:03 +01:00
José Valim 130ed60f4d Use infinity timeouts in parallel checker, closes #12421 2023-02-21 13:47:40 +01:00
José Valim 3eb94a482e Make sure protocols are loaded before dispatching
Closes https://github.com/hexpm/hex/issues/983.
2023-02-20 11:19:04 +01:00
sabiwara 6eca976752 Deterministic struct expansion (#12418) 2023-02-19 11:36:34 +01:00
sabiwara e977f023a0 Remove badfunc test on OTP26 (#12415) 2023-02-18 09:34:26 +01:00
sabiwara dc471cd876 Add :sort_maps to Inspect.Opts.custom_options (#12404) 2023-02-16 08:47:21 +01:00
sabiwara 6c31a6c8bb Fix Enum tests for maps in OTP26 (#12405) 2023-02-16 08:37:26 +01:00
José Valim 7535c0c403 Store complete path on quote keep, closes #12393 2023-02-13 12:56:31 +01:00
Zach Allaun 9fd9bceeaa Code.Normalizer: Use correct meta fields in normalize_call/2 (#12389) 2023-02-10 16:14:07 +01:00
Bram Verburg 6a1c5a449f Fix elixir_erl:debug_info/4 returning core_v1 (#12376) 2023-02-02 22:01:11 +01:00
José Valim c31d1b3eb0 Optimize application tracer 2023-01-28 11:31:07 +01:00
José Valim fb4ccfa656 Properly handle Macro inputs and output types in expansion
Closes #12299
Closes #12324
2023-01-14 16:00:45 +01:00
sabiwara ff2ea69710 Fix Macro.to_string/1 for large negative integers (#12326) 2023-01-10 10:50:51 +01:00
José Valim 2146bb449f Remove unecessary :beam_lib.info/1 call, closes #12317 2023-01-06 12:12:36 +01:00
José Valim 5a583c753b Consistently merge precisions in Calendar subsecond operations, closes #12303 2022-12-18 12:18:23 +01:00
José Valim ec31cc2331 Escape maps when expanding __ENV__ 2022-12-12 19:31:13 +01:00
Alex NaserandJosé Valim 6549d209d9 Precompile runtime module paths (#12294)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-12-08 19:37:01 +01:00
José Valim 71d27919ad Revert "Ensure all runtime_modules loaded before mapping their paths (#12287)"
We don't want to load all modules because some may be
specified as `@compile {:autoload, false}`.

This reverts commit a8aea1c763.
2022-12-08 06:38:31 +01:00
Alex NaserandAlex Naser a8aea1c763 Ensure all runtime_modules loaded before mapping their paths (#12287)
Co-authored-by: Alex Naser <alex.naser@remote.com>
2022-12-05 20:46:27 +01:00
José Valim a72f18b38b Fix Range.disjoint?/2 2022-12-05 16:20:44 +01:00
José Valim a1a37c67b6 Optimize range membership implementation, closes #12282 2022-12-04 13:02:56 +01:00
José Valim ff73830103 Return values from running doctests and order tests 2022-12-01 13:22:03 +01:00
Thanabodee Charoenpiriyakij 950bcc0704 Fix Calendar.strftime/2 format negative year incorrectly (#12268)
Closes #12266
2022-11-24 09:37:01 +01:00
José Valim 80564fc954 Do not quote doctest excerpt 2022-11-23 18:01:31 +01:00
José Valim 94e0e386ce Do not crash for missing line info on type warnings
Closes #12263.
2022-11-23 05:35:09 +01:00
José Valim bfa799b31f Do not warn on captured underscored vars from defmodule
Closes #12262
2022-11-23 05:19:58 +01:00
Marcus Kruse abe2af477b Fix wildcard edge case (#12255) 2022-11-20 11:06:15 +01:00
sabiwara 2a82c35e39 Fix unused for optimization (#12252) 2022-11-19 10:27:40 +01:00
José Valim 1f14211a5e Handle false positive on List.to_charlist/1 formatting, closes #12248 2022-11-17 20:12:59 +01:00
José Valim 1ae36fa079 Keep expression when normalizing is_struct in blame
Closes #12243.
2022-11-15 23:03:53 +01:00
José Valim e3fc947b92 Pass the relevant module when generating unique vars for guards 2022-11-11 12:59:36 +01:00
José Valim d061cb96ef Improve docs for tracer events 2022-11-09 19:13:29 +01:00