Commit Graph
1476 Commits
Author SHA1 Message Date
José Valim a3aa1e8de5 Ensure noname scope does not leak after assignment 2013-06-03 00:24:14 +09:00
José Valim be2aedff98 Fix typo on |> docs, closes #1168 2013-06-01 23:57:58 +09:00
Jonathan J Hunt 636da42f2a Don't ignore nil during aliasing. Attempt to fix #1159 2013-05-31 15:58:15 -07:00
José Valim 5e94a69693 Merge pull request #1163 from meh/regex-escape
Support extended syntax in Regex.escape
2013-05-31 11:13:16 -07:00
meh 3dd445bcce Add documentation to Regex.escape 2013-05-31 19:04:26 +02:00
meh 5e803487ef Improve Regex.escape tests 2013-05-31 19:04:26 +02:00
meh caeea8973c Support extended syntax in Regex.escape 2013-05-31 19:04:26 +02:00
sasa1977 ea797815a0 document update and to_keywords 2013-05-31 15:46:05 +02:00
José Valim 453d8835bd Merge pull request #1150 from alco/to_binary-error
Better error message for Binary.Chars.List.to_binary. Closes #1144
2013-05-31 02:21:16 -07:00
Alexei Sholik 2272dd1c46 Better error message for Binary.Chars.List.to_binary. Closes #1144 2013-05-31 12:14:51 +03:00
meh 5ff3b760d9 Implement Regex.escape 2013-05-31 04:26:43 +02:00
José Valim 5ffec637b0 Ensure we can define a nested record named Record, closes #1133 2013-05-30 11:44:19 +09:00
José Valim bd1633c778 Remove get! from Dict behaviour spec 2013-05-30 11:42:23 +09:00
José Valim bcf9d814dd Remove deprecated code 2013-05-30 11:24:51 +09:00
José Valim 69a4138e8c Remove remaining function implementation from access protocol old versions 2013-05-30 11:20:08 +09:00
José Valim 0fa06a2183 Precompile groups regex 2013-05-30 11:20:08 +09:00
José Valim e208237669 Merge pull request #1136 from alco/1131-tests
Add tests for %w(BigAtom)a mentioned in #1131
2013-05-29 01:57:33 -07:00
Alexei Sholik 3ec014ff77 Merge pull request #1128 from alco/1020-extended-doctest
Implement extended doctests
2013-05-29 01:53:51 -07:00
Alexei Sholik c19e3d0446 Add tests for %w(BigAtom)a mentioned in #1131 2013-05-29 11:49:21 +03:00
José Valim 99cdb412e3 Give higher precedence to |> than =~ 2013-05-29 03:19:45 +02:00
Alexei Sholik 6137d55d10 Test doctests for ExUnit.CaptureIO 2013-05-28 18:48:18 +03:00
Alexei Sholik 2fbc8682ca Review doctests in stdlib to use extended doctests 2013-05-28 18:47:47 +03:00
Alexei Sholik 99913d7018 Remove unintended connections between some doctests 2013-05-28 13:53:18 +03:00
José Valim fce97507de Do not include remotes on reachable results 2013-05-28 07:46:39 +02:00
Alexei Sholik 3c9f486567 Add tests for body-less functions 2013-05-27 20:42:20 +03:00
José Valim 846048855f Error if guards are given but no implementation, closes #1125 2013-05-27 19:24:24 +02:00
José Valim 9a6259d333 Remove unused variable warning 2013-05-27 19:06:24 +02:00
José Valim dad7f7bfb7 Allow keywords in typespecs 2013-05-27 17:54:04 +02:00
José Valim a6b81bffd1 Inline nillify in Process 2013-05-27 14:01:15 +02:00
José Valim 9e56691274 Ensure aliases from macros are properly expanded, closes #1123 2013-05-27 11:08:23 +02:00
José Valim d19f6beca0 Provide source information to all dispatches and complement the API 2013-05-26 20:20:23 +02:00
José Valim da84a797b0 Module.DispatchTracker also records remotes 2013-05-26 20:20:23 +02:00
José Valim fefad03595 Ensure warnings are proper with yanked and reattached overridables 2013-05-26 17:51:42 +02:00
José Valim f76aeba141 Check for imports conflicts in batches 2013-05-26 14:49:58 +02:00
José Valim fbb06f2086 Record each definition on tracker as soon as defined 2013-05-26 14:39:02 +02:00
José Valim ffc91e3004 Rename Kernel.LocalsTracker to Module.DispatchTracker 2013-05-26 14:39:02 +02:00
José Valim 32cc99767b Use precalculated binary size 2013-05-26 14:39:02 +02:00
José Valim c3e7543e48 Extract imports handling to locals tracker (soon to be renamed) 2013-05-26 14:39:02 +02:00
José Valim c7e86b0554 Start refactoring LocalsTracker to support more vertices 2013-05-26 14:39:02 +02:00
José Valim 99ce9250b5 Add @doc false to each gen* callback by default 2013-05-26 14:39:02 +02:00
Dave Thomas 239c41bee2 Switch to using pure binaries 2013-05-25 18:57:44 -05:00
Dave Thomas 478f9bbb52 Fixes a bug in Stringends_with?
iex> String.ends_with? "hello", ["hell", "lo"]
  false

 The problem was that the implementation uses :binary.matches, and that returns only
 one match. It would find "hell", but pos+len != size, and so returned false.

 Changed for a less efficient implementation.
2013-05-25 17:43:02 -05:00
José Valim c3dd4006b0 Reduce atom footprint when compiling an elixir module 2013-05-25 16:37:33 +02:00
José Valim e05448afd7 Remove *_table terminolgy in favor of setup/cleanup 2013-05-25 16:02:19 +02:00
Adam Lindberg ce1b12422d Add String.starts_with? and String.ends_with? 2013-05-25 15:32:15 +02:00
José Valim d757f31ccd Unused functions with cyclic dependencies are now also warned as unused
Closes #1105
2013-05-25 00:14:37 +02:00
José Valim d4609c6f4e Get rid of elixir_glob now that we run on > R16 2013-05-24 18:01:52 +02:00
José Valim f29c6afe3d Reduce the number of files required for bootstrap 2013-05-24 16:39:42 +02:00
José Valim 86e7069a0a Clean up how we store recorded locals in the imports table 2013-05-24 12:57:28 +02:00
Alexei Sholik 8530694c76 Move the list of inspect options back to Kernel's docstring 2013-05-24 12:04:47 +03:00