Commit Graph
109 Commits
Author SHA1 Message Date
José Valim f9dd6f66a6 Remove function single do: definition syntax 2012-05-13 17:36:54 +02:00
José Valim 53ba7e7e85 Do not allow stab inside stab operators 2012-05-13 16:20:45 +02:00
José Valim e476a5ef0d Stab at new syntax 2012-05-13 15:33:57 +02:00
José Valim 6725347e36 Ensure wrapped erlang exceptions can also be raised from Elixir, closes #283 2012-05-07 18:10:44 +02:00
José Valim 2eb653a594 fix precedence for not x in [], closes #278 2012-05-05 21:39:31 +02:00
José Valim 52eaf6d547 Overridable is no longer a data attribute, but a macro. This allows it to work fine with multi-clauses. 2012-05-02 21:23:25 +02:00
José Valim 1b481fd72a Allow record matching in rescue clauses, closes #238 2012-04-30 13:40:26 +02:00
José Valim b78c27b6af Ensure in with match can be mixed with guards 2012-04-30 12:20:58 +02:00
José Valim 7c7d7bd458 Allow "in" match clauses 2012-04-30 12:07:59 +02:00
José Valim 721972c739 Rename bin comprehension to bit comprehension 2012-04-30 10:54:29 +02:00
José Valim a16becfb94 List and bit comprehensions now expects filters after the when operator 2012-04-30 10:53:53 +02:00
José Valim b620b2ea9a Ensure we don't rescue the wrong exception accidentally 2012-04-26 09:58:16 +02:00
José Valim 5210aa5da8 Now that we have faster load times, get rid of assert_equal 2012-04-26 09:29:21 +02:00
José Valim 929f84f420 Revert removal of assert_equal 2012-04-26 00:31:40 +02:00
José Valim 24d64a871e Get rid of assert_equal 2012-04-25 23:36:02 +02:00
José Valim 9bf24191a6 Convert more files from assert_equal to assert == 2012-04-25 23:12:38 +02:00
José Valim 9a475008ec Get rid of assert_operator, handle it with assert 2012-04-25 20:36:42 +02:00
José Valim b1c38a54c3 Merge atom <-> binary oconversion tests into one file 2012-04-25 15:22:12 +02:00
José Valim 709de252e8 import with except should not add old keys back 2012-04-25 09:34:16 +02:00
José Valim 51bf673d71 Simplify Code API regarding compilation 2012-04-24 13:46:15 +02:00
José Valim 8171c6ceed Ensure a runtime error is raised if a macro is called at runtime 2012-04-23 11:20:46 +02:00
José Valim e612fb7f46 Allow macros to be invoked __MODULE__.macro during compilation 2012-04-22 19:40:45 +02:00
José Valim 279357ac2f Ensure macros that call locals can be invoked locally without failures. 2012-04-22 15:50:24 +02:00
José Valim 4e3d1b26e2 Add support to private macros. 2012-04-22 13:45:28 +02:00
José Valim 5629d5673a Allow macros to be invoked locally. 2012-04-22 13:26:42 +02:00
José Valim 6fdccdb802 Definitions without implementation can specify default clauses. 2012-04-21 14:57:24 +02:00
Alexei Sholik 22c2355af1 Add tests for loop with no match 2012-04-17 00:27:46 +03:00
José Valim 57b22b6589 Improve errors messages a bit, closes #253 2012-04-14 09:05:31 -03:00
José Valim 393098ff9e Move compilation options to the code server, closes #205. 2012-04-10 16:27:56 -03:00
José Valim 37199581e4 Ensure overridable definitions are private, closes #241 2012-04-10 10:51:31 -03:00
José Valim 7acabd9354 Merge pull request #236 from guedes/atom_to_binary
Atom to binary
2012-04-09 17:05:52 -07:00
José Valim d4d9674330 Fix a scenario where nested variables were not propagating. 2012-04-09 19:00:09 -03:00
Dickson S. Guedes 8f8e6d8d78 adding test to atom_to_binary 2012-04-09 16:56:36 -03:00
Dickson S. Guedes 18c48db0e2 allow binary_to(_existing)_atom uses :utf8 as default encoding when it is not specified, refs #221 2012-04-05 12:44:44 -03:00
José Valim bf483ef934 Ensure nested case works, closes #231 2012-04-04 13:52:46 -03:00
José Valim 06f1f6f5e5 Ensure nested loops work, closes #215. 2012-03-31 11:57:54 +02:00
José Valim 2becd5d1f6 Give a warning if docs are being overwritten. 2012-03-31 11:53:19 +02:00
José Valim 27f263b5a9 Add a failing test for multiclause docs. 2012-03-31 11:47:59 +02:00
José Valim 603a3ee19c destructure can handle nils. 2012-03-31 10:57:34 +02:00
José Valim eaa2093b71 Add destructure. 2012-03-28 11:09:19 +02:00
José Valim 07508096dc Compiler options should be by process. 2012-03-26 23:10:06 +02:00
José Valim 3f8d7a5ae7 Add refer back. 2012-03-25 22:55:48 +02:00
José Valim 1230f86e7c Remove automatic aliases from defmodule. 2012-03-25 22:29:41 +02:00
José Valim 66587fc87d Down to two protocol failures. 2012-03-25 21:48:40 +02:00
José Valim c5be874751 Remove support to ::, down to 16 failures. 2012-03-25 21:35:49 +02:00
José Valim d815788c52 Compile files using . and inside __MAIN__ 2012-03-25 18:48:20 +02:00
José Valim e0ee2b7e72 Append __MAIN__ to each generated module. 2012-03-25 16:26:09 +02:00
José Valim f509a89bae IEx now keeps the lexical scope, closes #182 2012-03-25 12:33:41 +02:00
José Valim ccaef79dd5 Ensure a tuple with two elements returns itself when quoted 2012-03-23 17:41:12 +01:00
José Valim fdbc8563cb Proper handle errors if super is not available. 2012-02-25 17:34:03 +01:00