Commit Graph
4480 Commits
Author SHA1 Message Date
Vinícius Müller 07ff933f78 Assert on compiler warnings content rather than format (#12679) 2023-06-20 12:17:51 +02:00
José Valim 47a5e30155 Make IO.binwrite consistent with IO.write 2023-06-19 15:27:12 +02:00
Vinícius Müller 0da6662b5e Improvide diagnostics on lexer exceptions (#12670) 2023-06-19 11:07:59 +02:00
Vinícius Müller b7d3a29db8 Assert on error message rather than format (#12675) 2023-06-15 20:06:10 +02:00
sabiwara 2f4a3138cd Fix slicing MapSet with stepped range (#12667) 2023-06-14 12:03:45 +02:00
Vinícius Müller 24883a476c Use british spelling when referring to elixir behaviour (#12663) 2023-06-14 10:25:43 +02:00
José Valim 04b6cd342c Improve error message for invalid module attribute usage, closes #12656 2023-06-13 16:54:01 +02:00
Vinícius Müller e2d09bcb6d Enable column on unused variable test (#12660) 2023-06-13 16:37:30 +02:00
José Valim 9041fca941 Fix Path suite on Windows 2023-06-13 15:29:04 +02:00
José Valim 8f43be2ca6 Do not deprecate relative paths, instead make sure the paths are proper 2023-06-13 15:08:03 +02:00
José Valim bacea2cef6 Keep capture operator on container cursor to quoted 2023-06-12 10:43:51 +02:00
Vinícius Müller 97873b87c9 Remove useless assertions in warnings_test (#12649) 2023-06-11 16:54:29 +02:00
Vinícius Müller 2f6e763ee5 Emit unknown remote call warning with columns (#12646) 2023-06-11 14:29:22 +02:00
Vinícius Müller 486eb46795 Refactor warning_tests to assert on warning position (#12647) 2023-06-11 11:56:18 +02:00
Vinícius Müller 1f79973768 Add column on unknown remote calls (#12641) 2023-06-10 19:31:02 +02:00
Vinícius Müller ee3263e02f Check columns by default on warnings tests (#12643) 2023-06-10 14:49:37 +02:00
Vinícius Müller 34f54c0cea Pass column info through meta_location and env_format (#12639) 2023-06-09 19:24:34 +02:00
José Valim 7711aa1919 Improve heredoc warning 2023-06-08 16:14:55 +02:00
pnezis 0872ee5444 Support parent relative paths in Path.relative_to (#12628) 2023-06-07 17:45:07 +02:00
José Valim 3521675e75 Mark functions as generated in Docs chunk 2023-06-07 13:12:10 +02:00
José Valim e624c9c25a Expand dots in relative_to and deprecate relative cwd (#12632)
The function already assumes there are no symlinks,
so expanding dots does not add additional uncertainty.
2023-06-05 09:17:39 +02:00
José Valim d7c6edbe78 Deprecate negative steps in slice and date operations 2023-06-03 20:44:00 +02:00
Wojtek Mach 1e3341382f Fix Macro.to_string/1 and ExUnit diffs for multi-letter sigils (#12627) 2023-06-01 16:17:51 +02:00
Wojtek Mach aef0879665 Fix import m, only: :sigils for multi-letter sigils (#12626) 2023-06-01 14:46:55 +02:00
Zach Allaun ea185b82f3 Add Module.get_last_attribute/3 (#12611) 2023-05-27 21:32:52 +02:00
José Valim 7454333fd0 Require pin variable when accessing variable inside binary size in match, closes #12588 2023-05-26 16:35:36 +02:00
sabiwara 4fc5b77c40 Code.with_diagnostics/2 formats paths as relative (#12590)
* Code.with_diagnostics/2 formats paths as relative

* Fix in :elixir_errors instead

* Fix it in parallel checker too
2023-05-25 20:07:09 +09:00
José Valim d4d7c8bcfd Raise when macros are given to dialyzer, closes #12597 2023-05-25 11:38:23 +02:00
Vinícius Müller 536dcb36e5 Include column in unused alias and imports warning messages (#12593) 2023-05-24 10:59:20 +02:00
José Valim 5480491dc5 Include column information in unused variable warning, closes #12591 2023-05-23 20:31:49 +02:00
José Valim a1e07266f1 Support distributed File.Stream (#12578) 2023-05-23 00:00:03 +02:00
José Valim 90c8327888 Support bitstring specifies as map keys in pattern, closes #12586 2023-05-22 23:10:53 +02:00
José Valim 50266c48e4 Fix regression on grammar, closes #12579 2023-05-22 16:15:04 +02:00
José Valim ca0d6ad60c Keep operators and identifiers in container_cursor_to_quoted 2023-05-19 22:59:48 +02:00
José Valim d1d3a083cb Support operators in container_cursor_to_quoted 2023-05-19 20:46:39 +02:00
José Valim faf81cd92c Improve docs for fragments, keep previous lines in blocks 2023-05-18 22:33:47 +02:00
José Valim a0f0f75ee8 Add Code.with_diagnostics/2, closes #12276 2023-05-16 11:52:59 +02:00
José Valim 6476355246 Keep stacktrace in diagnostics 2023-05-15 23:35:07 +02:00
Wojtek Mach e104b8d609 Don't render HTML comments in IEx docs (#12551) 2023-05-09 11:14:22 +02:00
sabiwara b8770d414d Optimize Enum.map/2 for ranges (#12554) 2023-05-08 10:18:19 +02:00
José Valim 90dd12a5ba Do not import _info functions from Erlang 2023-05-07 12:56:57 +02:00
José Valim 8c69850adf Always show maps as multiline if they cannot fit a single line 2023-05-07 00:33:44 +02:00
José Valim 97d4cd624f Properly keep context in map update fragment: %{map | 2023-05-04 13:15:33 +02:00
José Valim aac31dcf03 Attempt to delete write-only empty directories on rm_rf, closes #12527 2023-04-18 20:13:39 +02:00
José Valim a383cf0cb7 Allow binaries: :as_strings to override :base 2023-04-17 13:15:53 +02:00
José Valim 58b45e9dc1 Cache deps and archive loadpaths in Erlang/OTP 26 2023-04-17 09:30:33 +02:00
Zach Allaun 2d65a4613b Fix column count when tokenizing escaped interpolations (#12504) 2023-03-30 22:24:23 +02:00
Leandro Pereira c760a5a4af Add :return_separator to OptionParser (#12499) 2023-03-28 18:12:33 +02:00
sabiwara f95e77ef7d Fix dialyzer tests in OTP26 (#12486) 2023-03-23 08:37:02 +01:00
José Valim 2c34551c65 Consider operator precedence on guard blaming, closes #12479 2023-03-20 13:21:16 +01:00