Commit Graph
10191 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
Alexandre a8824bab09 Fix Stream.zip/1 hanging on empty list (#12461) 2023-03-10 21:49:30 +01:00
Kevin 2229ed7924 Sort metadata before printing (#12440) 2023-03-02 11:34:46 +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 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
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 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
Thanabodee Charoenpiriyakij 950bcc0704 Fix Calendar.strftime/2 format negative year incorrectly (#12268)
Closes #12266
2022-11-24 09:37:01 +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
José Valim 123034569f Generate unique vars in defguard 2022-11-09 13:02:04 +01:00
José Valim bdea27c1e3 Include [if_undefined: :warn] on var metadata 2022-11-08 13:37:34 +01:00
José Valim 7f70f64a01 Do not include module variables in prune_binding 2022-11-08 11:36:38 +01:00
José Valim 2acd0949dc Improvements to prune binding 2022-11-08 00:33:19 +01:00
José Valim fdf96ad48a Prune binding from env and on literals 2022-11-03 09:57:33 +01:00
José Valim 804d03431a Add prune_binding to Code.eval_quoted_with_env/4 2022-10-29 20:43:59 +02:00
José Valim 29a2bb49d0 Add a test for hygienic vars on eval 2022-10-29 20:43:18 +02:00
sabiwara fcb7b69cb5 Fix formatter: size*unit shortcut in bitstring (#12201) 2022-10-14 21:49:48 +02:00
José Valim 32c2a2db62 Expand :for in protocols with the appropriate env 2022-10-11 14:51:27 +02:00
Michał Łępicki b5941d2f6b Expand default compile_env argument in expand literals (#12181) 2022-10-08 22:21:12 +02:00
José Valim 5f20a94895 expand_literal -> expand_literals 2022-10-07 11:57:32 +02:00
José Valim 3d2c3101c3 Add Macro.expand_literals/2 and do partial literal expansion in @
Closes #12174.
2022-10-07 11:44:10 +02:00
sabiwara 278eba5767 Handle unused :uniq comprehensions (#12116) 2022-10-05 10:43:17 +02:00
Sam Lin b2130136fb Fix range first and last description in module doc (#12169) 2022-10-04 16:23:19 +02:00