Matheus Lima
07d7d538dc
Adds "Elixir" to check module availability naming list
2014-05-04 11:27:25 +02:00
José Valim
c86ecfdf7e
Add Kernel.spawn_monitor and deprecate duplicated functions from Process
2014-05-03 21:57:55 +02:00
José Valim
3c6e63a962
Ensure filters can compare aliases and regexes
2014-05-01 11:43:13 +02:00
José Valim
fdf53787cf
Remove unecessary .hrl macros
2014-04-30 19:24:04 +02:00
José Valim
c435dbe38d
Convert #elixir_env to a struct too
2014-04-30 16:32:13 +02:00
José Valim
e5c13e6dd2
Convert Macro.Env to a struct
2014-04-30 15:07:50 +02:00
José Valim
dc0fd7675b
Merge pull request #2216 from fishcakez/eval_stack
...
Fix stacktraces for :elixir.eval_forms/4
2014-04-30 18:27:10 +09:00
James Fish
be0564b536
Fix some dialyzer warnings
2014-04-30 00:44:40 +01:00
José Valim
97d4c02a8f
iodata_size -> iodata_length
2014-04-29 20:55:59 +02:00
James Fish
68d1bd9308
Fix stacktraces for :elixir.eval_forms/4
...
:erl_eval and :eval_bits can call :erlang.raise/3 with an incomplete
stacktrace, so extend the stacktrace when this occurs.
Mailing list thread:
https://groups.google.com/forum/#!topic/elixir-lang-core/cpSlgBjrRBQ
2014-04-29 17:57:39 +01:00
José Valim
6a5348b780
Improves macro expansion stacktraces, closes #2211
...
We make sure the paths in stacktraces are relatives
and properly point which macros are being expanded.
2014-04-29 16:18:04 +02:00
José Valim
0814d0b442
Properly format binary tokens on errors, closes #2144
2014-04-29 15:05:24 +02:00
Eric Meadows-Jönsson
c57978ba30
Improve default args with multiple clauses error message
2014-04-29 14:04:46 +02:00
José Valim
7415382c72
Merge pull request #2208 from fishcakez/dialyzer_fixes
...
[WIP] Fix some dialyzer warnings
2014-04-29 11:31:36 +02:00
James Fish
5cadeeea67
Fix some dialyzer warnings
2014-04-28 21:33:03 +01:00
José Valim
3a1857c5ba
Add comments to dialyzer work around
2014-04-28 20:47:11 +02:00
James Fish
93182b53cf
Fix remote calls to work with dialyzer in 17.0
...
In 17.0 dialyzer will crash on an empty map case pattern when its is
known that pattern will not match. The is_map guard is used instead of
the empty map pattern.
2014-04-28 17:46:15 +01:00
Eric Meadows-Jönsson
d868b4d066
Do not wrap single lists in :__block__
2014-04-27 22:26:14 +02:00
José Valim
32b8371759
Merge pull request #2199 from fishcakez/fix_abstract
...
Fix compiler abstract code
2014-04-27 20:57:52 +02:00
James Fish
29e0fadec1
Fix compiler abstract code
...
Previously the source filename of a module was sometimes a binary, this
change ensures it is always an erlang string.
Previously dialyzer did not know not to auto import bifs as it does not
read the compile options from a beam. This change uses an attribute in
the abstract code rather than a compile option so that dialyzer does not
auto import bifs.
2014-04-27 13:49:35 +01:00
José Valim
c91723b444
Remove deprecated code, enable previous soft deprecations
2014-04-27 13:39:32 +02:00
José Valim
31c34dc04e
Ensure we only allow horizontal space in heredocs
2014-04-24 20:57:06 +02:00
José Valim
4df91f14ee
Fix bug in for comprehensions
2014-04-24 11:27:49 +02:00
Eric Meadows-Jönsson
c6dc65c418
Fix compiler crash for some map literals
2014-04-22 18:29:54 +02:00
José Valim
ca2ea6c0bd
Inline some map calls
2014-04-22 15:43:13 +02:00
José Valim
56f15d9f4e
Do not add spaces after { and before }
...
This makes the source code consistent with the result
returned by inspect/2.
2014-04-21 19:06:35 +02:00
José Valim
ea9b686b28
Emit a warning if running on latin1
2014-04-21 12:15:27 +02:00
José Valim
6624f31472
Merge branch 'jv-char-data'
...
Conflicts:
lib/eex/lib/eex/tokenizer.ex
lib/elixir/lib/file.ex
lib/elixir/lib/kernel.ex
lib/elixir/lib/record/extractor.ex
lib/elixir/lib/string.ex
lib/ex_unit/lib/ex_unit/doc_test.ex
lib/mix/lib/mix/archive.ex
lib/mix/lib/mix/dep/fetcher.ex
lib/mix/lib/mix/dep/umbrella.ex
2014-04-21 08:38:48 +02:00
José Valim
03189d05b3
Properly set standard_error to unicode
2014-04-10 19:54:34 +02:00
José Valim
9595fb18dd
Raise KeyError for now in map.bad_field
2014-04-10 16:58:34 +02:00
José Valim
9e96966622
Add a deprecation note to records, split deprecated modules
2014-04-10 12:43:49 +02:00
José Valim
845a3d1fea
Make defstruct work on quoted expressions, closes #2156
2014-04-10 11:41:11 +02:00
José Valim
238eda25e3
Update to Erlang 17.0
2014-04-09 18:32:09 +02:00
José Valim
4e93dab9a8
Exception.normalize/1 is deprecated in favor of Exception.normalize/2
2014-04-08 15:13:46 +02:00
José Valim
4847214766
Do not fill in stacktraces on protocol dispatch
2014-04-07 19:05:02 +02:00
José Valim
d33463dcd5
Unify precedence of when, :: and |
2014-03-31 12:28:33 +02:00
José Valim
c37a244d66
Add Code.eval_file/2
2014-03-27 12:31:00 +01:00
José Valim
d73c108b89
Revert "Use 17.0-rc2"
2014-03-21 16:53:10 +01:00
José Valim
580b9292d6
Use 17.0-rc2 no_auto_import compiler option
2014-03-21 16:47:24 +01:00
José Valim
14d2ce460e
Also raise proper error on keywords followed by numbers, closes #2091
2014-03-18 12:07:39 +01:00
José Valim
ecd5b3d8ef
Ensure do can be at the start of its own line, closes #2053
2014-03-13 09:44:01 -07:00
Eric Meadows-Jönsson
c7c5d3af24
Allow splicing of binaries with specified size
2014-03-11 00:46:43 +01:00
José Valim
3d6dd50866
Remove native checks and improve typespecs
2014-03-08 12:46:16 -08:00
José Valim
e73fce96d1
Support :into with Collectable in comprehensions
2014-03-07 06:11:38 -08:00
José Valim
cbc03036cb
Merge pull request #2093 from elixir-lang/jv-into
...
Add support for Collectables
2014-03-06 10:50:39 -08:00
José Valim
a05d0d3b26
Rename Traversable to Collectable
2014-03-06 10:43:11 -08:00
José Valim
866acc4f82
Ensure an after clause is generated only if required
2014-03-06 07:00:37 -08:00
José Valim
012256791d
Add traversable to bootstrap
2014-03-05 16:03:40 -08:00
Eric Meadows-Jönsson
04e774a4ba
Support interpolation in keyword list atoms
...
key = "foo"
["#{key}": :value]
2014-03-05 16:43:26 +01:00
José Valim
6268dc3d22
Inline System.stacktrace/0
2014-03-05 03:05:18 -08:00