José Valim
b335b1663d
Rename Binary.Inspect -> Inspect and Wadler -> Inspect.Algebra
2013-07-05 22:15:16 +02:00
José Valim
f69ecfe8aa
Make Wadler API conform with Elixir API and update doctests to actually run
2013-07-05 20:29:15 +02:00
José Valim
10a456823c
Do not enable pretty by default
2013-07-05 19:27:55 +02:00
José Valim
a26d4cf0cd
Merge remote-tracking branch 'brunoro/master' into jv-pretty-printing
2013-07-05 19:27:37 +02:00
José Valim
a6f8e178c0
Consistently allow empty expressions on both side of operators
2013-07-04 20:29:39 +02:00
Eric Meadows-Jonsson
15af0356a2
Improve Mix dependency error messages
2013-07-04 20:04:28 +02:00
José Valim
ebe522ec50
Tighten up the grammar rules regarding parentheses omission
...
Prior to this commit, Elixir allowed too many ambiguous calls
by ommitting the parentheses:
do_something 1, is_list [], 3
[1, is_atom :foo, 3]
Both cases above would lead to a compilation error, as an attempt
to call is_list/2 and is_atom/2 would happen. Those examples will
now raise a syntax error, pointing to the ambiguous location.
We have disallowed such examples throughout the language with
the exception of one argument calls:
assert is_list []
Examples as above are extremely frequent and were kept as is.
2013-07-04 18:48:55 +02:00
José Valim
6d491325d5
Update and remove out of date erl tests
2013-07-04 11:40:00 +02:00
José Valim
f697ff4160
Ensure HashDict can be serialized into attribute, closes #1368
2013-07-04 11:35:14 +02:00
José Valim
4ae58d3bf4
Do not try to parse arguments for undefined functions
2013-07-04 11:16:14 +02:00
José Valim
650648a687
Clean up ExUnit.Case
2013-07-04 10:57:31 +02:00
José Valim
b561c93db2
Clarify docs for Macro.expand_all/2
2013-07-04 10:30:13 +02:00
José Valim
15c1a9891c
Implement bindings in Elixir
2013-07-04 10:18:46 +02:00
Gustavo Brunoro
10697628f9
to_binary always equals to 2.
2013-07-03 22:25:18 -03:00
Gustavo Brunoro
89da6e032d
adding documentation for Binary.Inspect.Utils
2013-07-03 22:19:10 -03:00
Gustavo Brunoro
e969a330d5
tests use tuples instead of recordp macros
...
* recordp builder/accessor macros aren't accessible on test cases.
2013-07-03 20:28:30 -03:00
Gustavo Brunoro
0f4598fca0
using defrecordp for all records on wadler.ex
...
* some tests still need to be refactored.
2013-07-03 20:03:04 -03:00
Gustavo Brunoro
cb5bb2e548
Merge branch 'master' of https://github.com/elixir-lang/elixir
2013-07-03 18:54:33 -03:00
José Valim
acf912c2c8
Clean up ExUnit.CaseTemplate to allow composition
2013-07-03 21:29:35 +02:00
José Valim
6b82967dd6
Improve error report on unhandled ->
2013-07-03 21:29:35 +02:00
José Valim
789d01ae2a
Merge pull request #1366 from ericmj/iex-show-exit
...
Show exit messages in IEx
2013-07-03 08:30:54 -07:00
Eric Meadows-Jonsson
531434959f
Show exit messages in IEx
2013-07-03 17:21:28 +02:00
José Valim
91be13d128
Optimize HashDict to store pairs in a cons cell reducing storage per key by half
2013-07-03 15:05:08 +02:00
José Valim
62527cae9c
Small clean up on parser file
2013-07-03 15:05:08 +02:00
John Warwick
2ba6238dd1
Fixing typos in Mix.Task docs
2013-07-03 08:50:08 -04:00
John Warwick
3d208e219d
Added doctest examples for Regex.split
2013-07-02 22:24:02 -04:00
John Warwick
f8fd11bef0
Fixing doc typos in Regex module
2013-07-02 22:19:11 -04:00
John Warwick
9703c9968b
More doctests for Regex.captures and fixed return type doc
2013-07-02 22:01:56 -04:00
AlbertMoscow
3ab74433c0
Fixed typos in Kernel
...
This line of code is referenced from the blog post by the following link: https://peepcode.com/blog/2013/elixir-is-for-programmers
2013-07-02 10:55:53 -07:00
Justin Jaffray
a6db102d05
Fixed typos in Kernel
...
Also reworded some docstrings to make more sense
2013-07-02 12:06:08 -04:00
José Valim
628d1b630e
Fix surprising behaviour with Module.register_attribute/3 that caused attributes to be persisted unecessarily
2013-07-02 10:31:32 +02:00
José Valim
fbd7c34211
Merge pull request #1356 from jwarwick/regex_typos
...
Fixed typos in Regex module docs
2013-07-02 00:07:46 -07:00
José Valim
25f5546d6f
Merge pull request #1355 from jwarwick/kernel_record_typos
...
Fixed doc typos in Kernel.defrecord and Kernel.defrecordp
2013-07-02 00:06:59 -07:00
John Warwick
4a0b1aa384
Fixed typos in Regex module docs
2013-07-01 22:59:20 -04:00
John Warwick
ee1b87089d
Fixed doc typos for Kernel.defrecord and Kernel.defrecordp
2013-07-01 22:36:33 -04:00
John Warwick
074db53fbb
Fixed typo in Record.update ArgumentError message
2013-07-01 22:11:41 -04:00
John Warwick
60693e48e5
Fixed typos in Record docs
2013-07-01 22:09:24 -04:00
José Valim
e49a00d3cb
Tidy up Record and access docs
2013-07-01 21:19:09 +02:00
José Valim
1fe756a2db
Improve Record docs
2013-07-01 21:10:37 +02:00
José Valim
1da36c5b04
Re-organize records tests
2013-07-01 21:10:13 +02:00
José Valim
7a2aea160c
Rewrite how records are introduced
2013-07-01 21:10:08 +02:00
José Valim
2837ce381b
Get rid of specifics
2013-07-01 21:09:35 +02:00
José Valim
3ae417cbb2
Merge pull request #1352 from elixir-lang/jv-uri
...
Remove the URI lookup mechanism in favor of application env
2013-07-01 12:09:11 -07:00
José Valim
12c5cf0515
Fix typo on ExUnit.CLIFormatter
2013-07-01 20:27:01 +02:00
José Valim
26eafd1a4c
Remove the URI lookup mechanism in favor of application env
2013-07-01 20:25:01 +02:00
José Valim
cdd8e5862d
Rename the ExUnit option from debug to trace
2013-07-01 16:41:34 +02:00
José Valim
eee1993cdd
Update CHANGELOG
2013-07-01 15:14:38 +02:00
José Valim
46e898e413
Add mix test --debug
2013-07-01 15:02:57 +02:00
José Valim
82e1c9337c
No need to print 'test' before each test name
2013-07-01 14:50:07 +02:00
José Valim
3bac4ddec6
Support --debug on internal tests which are not run through mix
2013-07-01 14:20:33 +02:00