Michael Howell
fa627f0948
Mention multi-line strings in the syntax reference ( #6572 )
2017-09-15 10:43:32 +02:00
José Valim
28bd48ed21
Do not prematurely raise on end tokens, closes #6567
2017-09-12 21:58:46 +02:00
José Valim
e5404aec60
Describe reserved words, sigils and structs in syntax reference
2017-09-12 17:19:42 +02:00
José Valim
45f27844f5
Raise better child_spec error if module is not defined, closes #6565
2017-09-12 16:59:10 +02:00
Dorian Karter
63f1d918bd
Allow passing empty string as match argument to String.replace/4 ( #6559 )
2017-09-12 15:20:55 +02:00
José Valim
fe7efd6969
Only add eol marker with both begin-end in containers have eol
2017-09-12 14:42:15 +02:00
Aleksei Magusev
8998846181
Introduce Time.add/3 ( #6513 )
2017-09-12 14:21:27 +02:00
Yordis Prieto
dd1524f7f9
Use the name of a registry as its child spec id ( #6560 )
2017-09-12 13:57:23 +02:00
José Valim
5ed491a7ea
Document all atoms exposed through __info__
2017-09-12 13:33:47 +02:00
José Valim
144df88cae
Fix overridable tests
2017-09-09 12:18:00 -07:00
José Valim
1012b60ac9
Do not traverse clauses table to retrieve defaults
...
Closes #6553
2017-09-09 11:50:57 -07:00
José Valim
2e1e51c4d0
Split the AST discussion from the syntax reference, closes #6343
2017-09-07 17:21:19 -07:00
José Valim
2e4d58cfa2
Rely on Supervisor.child_spec/2 and clean up code generation
2017-09-07 07:09:09 -07:00
Kelvin Stinghen
ecdb8232c0
Warning on the use of length(x) == 0 on guards ( #6538 )
2017-09-06 22:38:44 +02:00
Kelvin Stinghen
68f4601044
Improve the error message for rescue, catch and else inside def ( #6542 )
2017-09-06 20:42:38 +02:00
Maarten Jacobs
f199a598a1
Fix typo in Task.Supervisor ( #6545 )
2017-09-05 16:11:59 -07:00
José Valim
12254e2cfd
log -> long
2017-09-04 16:23:03 +02:00
Tomasz Marek Sulima
3b74a0e09a
Warn if catch comes before rescue in try ( #6537 )
2017-09-04 11:39:00 +02:00
Michał Muskała
f10ee4624f
Clarify binary comparison ( #6468 )
2017-09-03 14:07:58 +02:00
José Valim
9d3b4cac92
Use __info__ and module_info where appropriate
2017-09-02 23:35:23 +02:00
Aleksei Magusev
2d14cedab5
Fix typo in MapSetTest
2017-09-01 20:55:59 +02:00
Aleksei Magusev
ae2c55e5b4
Remove unnecessary helper function in Process
2017-09-01 20:43:58 +02:00
Shane Howley
a0716c2f44
Return valid MapSet when union-ing a legacy MapSet ( #6534 )
2017-09-01 20:33:57 +02:00
Ivan Kozik
75150ec7eb
Fix more typos and spelling errors ( #6530 )
2017-09-01 10:20:53 +02:00
m. simon borg
139f71309b
Add newline spacing around documentation example ( #6524 )
...
Fixed some inconsistent spacing in the documentation example for `Tuple.append`.
2017-09-01 10:18:37 +02:00
Ivan Kozik
b9ca29768a
Fix a few spelling errors ( #6525 )
2017-09-01 10:17:57 +02:00
Ivan Kozik
d7d697db39
Use "number" instead of "amount" for count nouns ( #6528 )
2017-09-01 10:17:26 +02:00
José Valim
93f79543ae
Do not use __block__ and __aliases__ as literal identifiers
2017-09-01 01:45:08 +02:00
José Valim
a8bafae468
Store eol info in arrow ops
2017-09-01 00:58:15 +02:00
José Valim
58b498c90f
Store if containers and stab are followed by eol
2017-09-01 00:35:14 +02:00
José Valim
c99cac4794
Convert iodata to binary instead of bitstring concatenation
2017-08-31 23:15:21 +02:00
Aleksei Magusev
c033ed1cf5
Test Port.monitor/1 and Process.monitor/1 inlining
...
Partially reverts 118ce95c0d .
2017-08-31 21:28:40 +02:00
José Valim
2efb7691f7
Rename cancel_break to next_break_fits
2017-08-31 20:29:32 +02:00
José Valim
2d1e00264e
Push blocks to parser
2017-08-31 15:58:03 +02:00
Kelvin Stinghen
a5f64607ac
Add Port.monitor/1 and Port.demonitor/1 functions ( #6518 )
2017-08-31 12:02:11 +02:00
Devon Estes
8482bc8719
Update IO.write/2 documentation ( #6523 )
...
When I was reading the documentation for this function a couple days
ago, the line "It returns :ok if it succeeds." was really confusing
to me. It made me think there was some other error possibility that I
was missing and should handle.
After looking at the Erlang docs for ":io.put_chars/2", it looks like
there isn't some additional error case. Only then did I even notice the
typespec that says this function always returns ":ok". So, I think this
line is misleading, and we should remove it.
2017-08-31 01:34:19 -07:00
Gustavo Saiani
bd601bf6d2
Fix typo in Inspect.Algebra doc ( #6522 )
2017-08-31 10:22:47 +02:00
Aleksei Magusev
118ce95c0d
Remove Process.monitor/1 inlining test
2017-08-30 20:25:03 +02:00
José Valim
97ece16b11
Add more formatter metadata
2017-08-30 17:21:17 +02:00
José Valim
9c9d4daa7c
Improve coverage of inspect algebra
2017-08-30 15:35:46 +02:00
José Valim
78872181cf
Add collapse lines to algebra
2017-08-30 01:00:01 +02:00
Aleksei Magusev
f0ba0b4aa3
Extract parts per day value in Calendar.ISO to module attribute
2017-08-29 20:08:55 +02:00
José Valim
c89ba8878d
Allow enabling and disabling cancellation mode
2017-08-29 19:29:10 +02:00
José Valim
9611200b3d
Only check the current group for breaks
2017-08-29 13:46:14 +02:00
José Valim
c2bf61db8b
Group documents for inspecting
2017-08-29 12:34:29 +02:00
José Valim
f0d8219240
No longer group by default to avoid full document traversals
2017-08-29 11:56:35 +02:00
José Valim
eb2996d6a2
Allow nesting to be reset
2017-08-29 09:47:54 +02:00
José Valim
099a3a41ed
Fix ordering of rescue and catch in try
2017-08-29 01:31:07 +02:00
José Valim
6030be5ae5
Add literal annotation for aliases
2017-08-28 23:59:45 +02:00
José Valim
4fdeba67f6
Add parser rule for call with unary and do-end block
2017-08-28 23:15:45 +02:00