Commit Graph
84 Commits
Author SHA1 Message Date
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
José Valim ef4d9aa176 Tests for calling super implicitly. 2012-02-25 17:22:51 +01:00
José Valim a217b259bb Add tests for handling super. 2012-02-25 17:01:02 +01:00
José Valim a4e59f3445 Rename abstract to overridable. 2012-02-25 13:53:53 +01:00
José Valim da9d23cce6 Initial work on @abstract. 2012-02-25 13:40:51 +01:00
José Valim fe6f6373a2 Start working on defabstract, remove defforward. 2012-02-25 12:39:33 +01:00
José Valim 8ff8923b53 Rename defforwarded -> defcallback. 2012-02-23 12:35:47 +01:00
José Valim 75be4c8c73 Finish implementation of defforwarded. 2012-02-23 12:10:08 +01:00
José Valim 68ec1c7ca3 Pass the callbacks arguments to forwarded functions. 2012-02-23 09:48:47 +01:00
José Valim 8cd22c3f4f Allow super to be implicit. 2012-02-23 09:48:47 +01:00
José Valim 71199c9c23 Documentation and tests for runtime docs. 2012-02-21 09:52:14 +01:00
José Valim 6b73f54f40 Start converting comments to new documentation format. 2012-02-21 09:25:09 +01:00
José Valim cc4487d3bb Define super for defforward. 2012-02-20 09:26:27 +01:00
José Valim 6bd337ea9e Improvements to defforward and module functions. 2012-02-19 13:18:36 +01:00
José Valim a0caf128a2 Allow forwarding to be removed and redefined. 2012-02-18 19:24:20 +01:00
José Valim 1621a38293 Automatically require module definitions in the same lexical context. 2012-02-18 11:27:27 +01:00
José Valim c3d72a4945 __using__ always expects two arguments. 2012-02-15 15:07:40 +01:00
José Valim 16889de10f Do not automatically set references. 2012-02-15 12:11:47 +01:00
José Valim cd492f7b0d Do not auto-import error. 2012-02-14 14:05:14 +01:00
José Valim 27c33437df More tests an examples to forwarding. 2012-02-14 10:30:37 +01:00
José Valim ca7b1881f1 Forwardings are now compiled. 2012-02-14 10:24:00 +01:00
José Valim 987ffa2b15 Initial take on defforward. 2012-02-14 09:52:59 +01:00
José Valim 3a06259951 Convert from def test_rest to test :rest 2012-02-13 16:56:11 +01:00
José Valim a02d19a8c5 Allow hygiene to be disabled when quoting. 2012-02-13 12:13:38 +01:00
José Valim f5c1a7ae47 Use & for partial application instead of _. 2012-02-12 12:19:21 +01:00
Rafael Mendonça França 1991d8669c Use new assertions on tests 2012-02-12 00:22:52 -02:00