Commit Graph
15704 Commits
Author SHA1 Message Date
José Valim ef5916bb67 Refactor and normalize format 2022-10-27 23:29:09 +02:00
Felipe Renan 17d34d06fe Include snippets in EEx errors (#12170) 2022-10-27 23:17:39 +02:00
sabiwara 8feb6c223c Use orelse in for guard (#12217) 2022-10-27 07:27:41 +02:00
José Valim 76dbb6fee4 Improve error message for undefined application, closes #12212 2022-10-25 19:37:57 +02:00
Andrea Leopardi 986f93f57e Add spec for DateTime.from_iso8601/2 (#12215) 2022-10-25 19:26:55 +02:00
José Valim 386113af86 Include snippets in more syntax errors 2022-10-25 12:52:20 +02:00
José Valim 8f57c0ed1b Update notes on | 2022-10-25 10:36:40 +02:00
Marc-André Lafortune f63e600c6c Add precision to error message (#12213) 2022-10-25 10:29:28 +02:00
Łukasz Samson 8c398c26eb Fix tracer on_module docs (#12211)
it's available since 1.13
2022-10-23 10:09:40 +02:00
José Valim 64547a39ca mix format 2022-10-21 18:22:02 +02:00
José Valim 7d0e436b0d Recurse over macro expansions in assert 2022-10-21 18:21:44 +02:00
José Valim d739957b3d Expand left side of -> in rescue, closes #12209 2022-10-21 17:04:25 +02:00
José Valim c80aac5917 Warn when using override with in_umbrella
Closes #12203.
2022-10-21 16:03:00 +02:00
José Valim 4be87ff1b2 Do not expand or collect vars from quote in ExUnit assertions
See #12209.
2022-10-21 15:57:48 +02:00
Dave Thomas e0737d93ec Add more color configuration to ExUnit CLI formatter (#12208) 2022-10-20 19:03:08 +02:00
José Valim fea53a1b10 Refactor mix format text diff 2022-10-19 11:41:02 +02:00
José Valim 26a4f3cefd Consider closing ) on keyword break, closes #12206 2022-10-19 11:36:41 +02:00
José Valim 9cdd3cbcbf Do not perform completion on evaluated prompts, closes #12191 2022-10-19 10:47:15 +02:00
sabiwara a3edbdac77 Mix.install accepts atoms as paths (#12204) 2022-10-16 11:31:38 +02:00
sabiwara 5e818fc176 Fix formatter: size*unit shortcut in bitstring (#12201) 2022-10-14 21:49:11 +02:00
Schnittchen 92eecc7ae8 Fix DynamicSupervisorExample: pass strategy option (#12200) 2022-10-14 17:01:08 +02:00
José Valim 0a1a5991d9 Remove unecessary parens in nullary type funs 2022-10-14 13:55:23 +02:00
José Valim d07ecd8821 Support "def cli" in Mix.Project (#12183)
The goal is to unify all CLI defaults in a single
in a way where we can load said configuration
before we load the project itself.

See the "CLI configuration" section in Mix.Project
for more information.
2022-10-14 08:12:05 +02:00
José Valim 30033a5d84 Clarify mix format error message 2022-10-13 19:35:26 +02:00
Icia Carro Barallobre 260e72d2b7 Improve replace documentation of module regex (#12197) 2022-10-13 19:23:39 +02:00
José Valim 53f06eb91d Set compiler options throughout the whole test execution, closes #12189 2022-10-12 21:10:02 +02:00
Trashpanda e8effd97c9 Fix Time.add/3 documentation (#12193)
`:day` is not supported.
2022-10-12 20:46:45 +02:00
Marc-André Lafortune fb9937b0f7 Add more doc to debug_info (#12192) 2022-10-12 18:13:30 +02:00
ctstacey fbdc4510d0 Add example to ExUnit.Assertions.assert_raise/2 doc (#12190) 2022-10-12 13:55:04 +02:00
Paulo Valim 18957c1aff Use clearer style in Enum examples (#12187) 2022-10-11 18:24:15 +02:00
José Valim e070d4fbf4 Use correct column in invalid alias terminator 2022-10-11 14:56:34 +02:00
José Valim ff5dcc804e Expand :for in protocols with the appropriate env 2022-10-11 14:50:59 +02:00
Trashpanda 2dc396307d Add some minor edits to the struct docs (#12185) 2022-10-11 09:22:12 +02:00
José Valim d7158b3976 Add note about after_compiler, see #12159 2022-10-10 16:18:03 +02:00
Marco "Efesto" Polita b4aca9ca81 Add --check-locked to mix deps.get (#12184) 2022-10-10 15:44:04 +02:00
José Valim 41f7f47a6c Improve URI tests 2022-10-08 22:21:33 +02:00
José Valim ce0cbbc34a Skip unreliable stdin test on Windows 2022-10-08 21:09:15 +02:00
Michał Łępicki cd5932a9b0 Expand default compile_env argument in expand literals (#12181) 2022-10-08 21:07:20 +02:00
Schnittchen 4339ee9154 Fix URI.merge using the examples from rfc3986 (#12180) 2022-10-08 19:48:55 +02:00
José Valim 9fb3cf6030 Fix ambiguity in &INT with brackets 2022-10-08 10:52:37 +02:00
José Valim a2d57cb48a expand_literal -> expand_literals 2022-10-07 11:57:12 +02:00
José Valim 8447db887b Add Macro.expand_literals/2 and do partial literal expansion in @
Closes #12174.
2022-10-07 11:43:17 +02:00
Parker Selbert b67e722d68 Define a callback for Logger.Translator (#12177) 2022-10-07 09:01:37 +02:00
José Valim d0223107d0 mix format 2022-10-07 09:01:05 +02:00
José Valim b3fed63250 Make pry tests less brittle 2022-10-06 19:29:22 +02:00
Eksperimental 22140eaa3a Add doctests for Kernel.ceil/1 and Kernel.floor/1 (#12176) 2022-10-06 19:16:55 +02:00
José Valim 2079dbc8b5 Use Blake2 when digesting source code files (#12173) 2022-10-05 17:08:36 +02:00
José Valim 096f431fda Perform __mix_recompile__? checks in parallel 2022-10-05 15:28:11 +02:00
sabiwara 26d050e65b Handle unused :uniq comprehensions (#12116) 2022-10-05 10:42:56 +02:00
Sam Lin 5c1f2b0463 Fix range first and last description in module doc (#12169) 2022-10-04 16:23:09 +02:00