Jean Klingler
24efbdfb7c
Document whitespace rules for keyword syntax ( #12773 )
2023-07-08 17:24:01 +09:00
Lucas Francisco da Matta Vegi
36e71050cb
Remaining macro-anti-patterns (Anti-pattern documentation) ( #12769 )
2023-07-08 10:17:30 +02:00
Peter Lemenkov
e00524ba5b
Use PID valid for 32-bit systems, followup to #12741 ( #12772 )
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com >
2023-07-07 20:47:26 +02:00
Jean Klingler
4411dbe3f2
Expand captured args with regular context ( #12763 )
...
* Expand captured args with regular context
* Rewrite test depending on current line
* Display a different warning for captured arguments
* Mention the reason in a comment
2023-07-07 22:22:01 +09:00
José Valim
93ff4a22de
Disable tail call optimization on file root entries
2023-07-07 13:37:44 +02:00
Cristiano Piemontese
2ee7b59921
Add missing p in docs ( #12768 )
2023-07-07 12:10:18 +02:00
José Valim
16d8d1af28
Add tests for Mix.install start_applications: false
2023-07-07 08:42:01 +02:00
Łukasz Samson
9edde54c3b
Allow to opt out of starting apps in Mix.install ( #12766 )
2023-07-07 08:39:16 +02:00
Iztok Fister Jr
e374882c03
Revise the description of DSLs ( #12762 )
2023-07-06 21:50:27 +02:00
José Valim
999ecf73de
Fix references in getting started guides
2023-07-06 16:08:36 +02:00
José Valim
1cd7e53875
Tidy up getting started guides conclusion
2023-07-06 16:07:30 +02:00
José Valim
e55472e9b8
More guides
2023-07-06 15:49:05 +02:00
José Valim
f7fcc160b8
More guides
2023-07-06 15:23:03 +02:00
José Valim
365cd44b1c
More guides
2023-07-06 15:01:45 +02:00
José Valim
3a706f7a1a
More guides
2023-07-06 13:54:36 +02:00
José Valim
e96ca906a4
Clarify --no-pry vs --dbg pry
2023-07-06 12:36:15 +02:00
José Valim
58bb5194d3
Propagate diagnostics from inner compiler process
2023-07-06 09:41:57 +02:00
Lucas Francisco da Matta Vegi
1b33e7259e
"Scattered process interfaces" (Anti-pattern documentation) ( #12759 )
2023-07-06 09:06:55 +02:00
Andrea Leopardi and José Valim
3c0efc1e2a
Add "Comments" anti-pattern to the guides ( #12758 )
...
Co-authored-by: José Valim <jose.valim@dashbit.co >
2023-07-05 20:37:12 +02:00
José Valim
970691db2d
More guides
2023-07-05 19:15:16 +02:00
José Valim
5547e35ffb
More guides
2023-07-05 18:45:09 +02:00
José Valim
e9e6f23105
Fixes to anti-patterns
2023-07-05 18:24:13 +02:00
José Valim
2a97e7e0fb
Initial getting started version
2023-07-05 18:24:04 +02:00
Andrea Leopardi
e8409fe8fb
Polish some anti-patterns in the guides
2023-07-05 10:54:03 +02:00
Andrea Leopardi
4a9c11def4
Use <h4> titles in anti-patterns guides
2023-07-05 10:42:09 +02:00
Andrea Leopardi
a446fcc95c
Clean up some process-related anti-patterns
2023-07-05 09:34:22 +02:00
Andrea Leopardi
8e31412bae
De-indent anti-pattern guides ( #12755 )
2023-07-05 09:25:11 +02:00
José Valim
9bdbcbb7f9
Move meta-programming to the bottom
2023-07-05 09:23:14 +02:00
José Valim
189dbcec67
use instead of import + nutrition facts (anti-patterns)
2023-07-05 09:13:42 +02:00
Andrea Leopardi
e785d86095
Move meta-programming guide here from elixir-lang.org ( #12750 )
2023-07-05 08:54:47 +02:00
José Valim
d0d80aee53
Apply changes and additional remarks to anti-pattern
2023-07-05 08:45:10 +02:00
Lucas Francisco da Matta Vegi
e27dd766ba
"Code organization by process" and "Unsupervised processes" (Anti-pattern documentation) ( #12754 )
2023-07-05 08:27:01 +02:00
Lucas Francisco da Matta Vegi
0d76145e1b
Add "Working with invalid data" (Anti-pattern documentation) ( #12753 )
2023-07-04 21:06:38 +02:00
José Valim
51830c13a1
Provide structure for anti-patterns ( #12748 )
2023-07-04 20:40:00 +02:00
José Valim
4895540a32
Consistent casing in titles
2023-07-04 19:06:18 +02:00
Andrea Leopardi
0843b401b0
Document almost all remaining stdlib exceptions
2023-07-04 18:56:27 +02:00
Andrea Leopardi
2ab9047d12
Document more exceptions
2023-07-04 16:56:34 +02:00
Andrea Leopardi
9382c83d33
Avoid Kernel.SpecialForms when linking Kernel
2023-07-04 16:52:19 +02:00
José Valim
6909684d6b
Create a new references section in the sidebar
2023-07-03 20:47:27 +02:00
José Valim
56098b98db
Only include location in diagnostic when precise
2023-07-03 17:55:27 +02:00
Andrea Leopardi
d4cbba0416
Add docs to more stdlib exceptions ( #12739 )
2023-07-03 16:36:50 +02:00
José Valim
797789338e
Improve error message when IEx cannot boot
2023-07-03 16:33:07 +02:00
José Valim
8074811400
Fix IEx --remsh on Erlang/OTP 25-
...
Closes #12746 .
2023-07-03 16:24:44 +02:00
Jean Klingler
1fcdc52854
Clarify that Code.with_diagnostics/2 does not rescue ( #12742 )
2023-07-02 21:56:48 +09:00
Vinícius Müller
f60d54bbc1
Show snippets on additional diagnostics printing ( #12725 )
2023-07-02 14:29:41 +02:00
José Valim
cd5f45b1c6
Add smoke tests for -e/--eval ( #12743 )
2023-07-02 11:04:11 +02:00
José Valim
8bc67d384b
Use PID valid for 32-bit systems, closes #12741
2023-07-02 10:28:58 +02:00
kevinferretti
67207f4b75
Improve default ExUnit seed algorithm and allow changing via config ( #12733 )
2023-07-01 19:17:38 +02:00
Andrea Leopardi
9b74eceb79
Add more documentation for stdlib exceptions
2023-07-01 10:29:19 +02:00
Andrea Leopardi
0700c8b780
Make some fields of exceptions public ( #12735 )
...
In particular, for FunctionClauseError and UndefinedFunctionError.
2023-07-01 09:03:25 +02:00