Thomas Fisher
7a2edcbaee
Fixing minor misspelling
2015-10-19 22:02:34 -07:00
José Valim
9697074346
Merge pull request #3884 from gjaldon/format_error_grammar_fix
...
Grammar fix for error message returned by :elixir_aliases.format_error/2
2015-10-19 23:30:27 +02:00
Gabriel Jaldon
1818287700
Grammar fix for error message returned by :elixir_aliases.format_error/2
2015-10-20 04:05:55 +08:00
José Valim
3ef6d24a7e
Support variables as map keys
2015-10-19 21:37:59 +02:00
José Valim
6a8b212376
Error with tuples in map access syntax
2015-10-19 15:31:51 +02:00
José Valim
95b03739dd
Add Process.get_keys/0
2015-10-19 12:33:48 +02:00
José Valim
35fbf0716a
Move code server and compiler away from ord*
2015-10-19 12:19:15 +02:00
José Valim
6128444f4b
Move more items away from ord* when possible
2015-10-19 12:19:15 +02:00
José Valim
a90bf7fc50
Merge pull request #3883 from djm/patch-1
...
Mix.Task moduledoc update: correction
2015-10-19 00:20:08 +02:00
José Valim
89d2b916c1
Provide better error messages for context modules
2015-10-19 00:19:34 +02:00
Darian Moody
0f1b5e5e23
Mix.Task moduledoc update: correction
...
Corrected:
* showed => shown
* Multiline backtick rendering issues.
2015-10-18 23:18:42 +01:00
José Valim
d416772ace
Merge pull request #3882 from hubertlepicki/master
...
improve error message on requiring module from the context it was defined in
2015-10-19 00:01:47 +02:00
José Valim
6de232cab0
Use empty bindings
2015-10-18 23:59:57 +02:00
José Valim
5b88ef22d2
Move internal vars and backup vars from orddict to maps
2015-10-18 23:32:28 +02:00
José Valim
2f7c2da482
Migrate to :rand
2015-10-18 22:31:04 +02:00
Hubert Łępicki
d9a8a2a93d
cleaner (?) error messages when attempting to use the module from the same module
2015-10-18 21:58:07 +02:00
José Valim
1f7ee6788c
Remove unused functions in utils
2015-10-18 21:09:46 +02:00
José Valim
07d375d6c2
Remove more dependencies on HashSet and HashDict
2015-10-18 21:09:34 +02:00
José Valim
4b01bccfbf
Include line for previously defined doc attribute warnings
2015-10-18 20:56:05 +02:00
José Valim
ecf90268eb
Introduce String.trim_{prefix,suffix,leading,trailing}/2
...
The first two will remove only the first occurrence of
the given match in string. The last two will remove all
occurrences of the given match.
We have chosen the leading/trailing naming instead of
left/right because left/right is used in String as
lstrip/rstrip and ljust/rjust, i.e. with a different
naming convention. Furthermore, the strip/just variants
receives codepoints while the ones in trim receives
strings themselves.
2015-10-18 20:50:50 +02:00
José Valim
266fb8459d
Merge pull request #3880 from philosodad/documentation-fix-for-map-special-form
...
Fix innacurate iex output
2015-10-17 23:57:59 +02:00
José Valim
1a00eb67e7
Only load consolidated protocols if consolidation is enabled
2015-10-17 23:57:14 +02:00
Paul Daigle
295a366f72
Fix innacurate iex output
...
Uses a string key instead of an atom key in order to force the iex
output to show the list of tuples rather than a keyword list.
2015-10-17 17:39:26 -04:00
José Valim
5ec2a43650
Merge pull request #3878 from elixir-lang/jf-task-sup-no-block
...
Don't block Task.Supervisor when starting tasks
2015-10-17 13:40:56 +02:00
James Fish
c87eafab0c
Don't block Task.Supervisor when starting tasks
2015-10-16 22:33:19 +01:00
Aleksei Magusev
7602bda91e
Properly check for docs atrribute value on redefining
2015-10-16 22:29:30 +02:00
Aleksei Magusev
4ac8d8a87e
Warn on attribute change even if value is the same
2015-10-16 20:48:39 +02:00
José Valim
8c79b21112
Add Task.Supervisor.async_nolink/1/3
2015-10-16 19:05:19 +02:00
Matthew Nguyen
6de06887cb
Update enum.ex
2015-10-16 09:25:31 -07:00
José Valim
754fdf87c3
Do not warn on attribute change if value is the same
2015-10-16 18:11:34 +02:00
José Valim
b131b17f78
Fix bootstrap issues on macro code
2015-10-16 17:40:56 +02:00
José Valim
31187012fa
Merge pull request #3874 from nurugger07/underscore_camelize_strings
...
Include underscore/1 & camelize/1 in the Macro module
2015-10-16 17:33:49 +02:00
Qing Wu
507faf5a7e
Fix code example in the document for quote macro
2015-10-16 21:24:04 +11:00
José Valim
2547506865
Do not mark erlang:error as generated as it prunes stacktraces
2015-10-16 02:02:16 +02:00
Johnny Winn
b3595595a7
Include underscore/1 & camelize/1 in the Macro module
...
* also adding deprecation note in the Mix.Utils module
2015-10-15 19:39:45 -04:00
José Valim
8d216f8162
Merge pull request #3870 from kennyballou/special_forms_doc_change
...
Add clarification to comprehension match example
2015-10-15 13:42:26 +02:00
Ryan Scheel
7e5ea0da6d
Add link to monitor/2 example
...
Because copying the entire example would be silly.
2015-10-14 20:19:25 -07:00
kballou
e273f6930e
Add clarification to comprehension match example
...
The current example is fine, especially with an understanding of the
matching that is happening. However, to make the example more explicit, the
name of the unmatched pair should be different.
2015-10-14 17:35:37 -06:00
José Valim
e12ca353a9
Do not generate install instructions for umbrellas
2015-10-15 01:32:49 +02:00
José Valim
7b5905a2dd
Remove unecessary warning, make type opaque
2015-10-14 23:45:56 +02:00
José Valim
66582563e7
Merge pull request #3867 from lexmag/redefinition-warn
...
Tidy up implementation for warning on @attribute redefinition
2015-10-14 23:07:19 +02:00
Aleksei Magusev
022c007b2c
Tidy up implementation for warning on @attribute redefinition
2015-10-14 21:27:16 +02:00
José Valim
be940abece
Test duplicate @doc warn
2015-10-14 19:33:19 +02:00
José Valim
bb29ced8b3
Merge pull request #3865 from henrik/keyword-list-to-string
...
More helpful error for keyword list to_string
2015-10-14 19:09:23 +02:00
Henrik Nyh
2de804eb86
More helpful List.to_string argument error
...
Replaces the confusing "argument error" with ":unicode.characters_to_binary([a: 1])" in the backtrace that you would get when interpolating e.g. a keyword list. Developers used to Ruby may expect this to just work.
Kudos to @lexmag for the idea to implement it this way.
2015-10-14 19:01:47 +02:00
José Valim
68ab38736b
Tidy up code from merged PRs
2015-10-14 18:43:23 +02:00
José Valim
80c94907dd
Merge pull request #3752 from gustf/feature-warn-test-pattern
...
New config: warn_test_pattern
2015-10-14 18:38:46 +02:00
José Valim
9fcaed147c
Merge pull request #3651 from bbense/iex_m_command
...
Iex m command
2015-10-14 18:36:43 +02:00
José Valim
d9a93c47ca
Solve bootstrap issues with @doc
2015-10-14 18:25:20 +02:00
José Valim
53c85df69a
Merge pull request #3793 from danielberkompas/3707-warn-on-redefined-docs
...
[#3707 ] Warn when @attributes are redefined
2015-10-14 17:56:22 +02:00