diff options
author | Araq <rumpf_a@web.de> | 2012-11-07 01:08:31 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-11-07 01:08:31 +0100 |
commit | 515cf985f41dcce7751018ee678109b17b886643 (patch) | |
tree | bf160b7400d521629e2ca944785f1c5b746f322c | |
parent | 35f61e19975db006f9644f67cd6399294285c7c2 (diff) | |
download | Nim-515cf985f41dcce7751018ee678109b17b886643.tar.gz |
made some tests green
-rw-r--r-- | lib/pure/irc.nim | 4 | ||||
-rw-r--r-- | tests/reject/teffects1.nim | 2 | ||||
-rw-r--r-- | tests/reject/teffects2.nim | 2 | ||||
-rwxr-xr-x | todo.txt | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/lib/pure/irc.nim b/lib/pure/irc.nim index 24777f952..921c6b09c 100644 --- a/lib/pure/irc.nim +++ b/lib/pure/irc.nim @@ -68,7 +68,9 @@ type EvMsg, EvDisconnected TIRCEvent* = object ## IRC Event case typ*: TIRCEventType - of EvDisconnected: nil ## Disconnected from the server + of EvDisconnected: + ## Disconnected from the server + nil of EvMsg: ## Message from the server cmd*: TIRCMType ## Command (e.g. PRIVMSG) nick*, user*, host*, servername*: string diff --git a/tests/reject/teffects1.nim b/tests/reject/teffects1.nim index cb5e43b26..eca88949f 100644 --- a/tests/reject/teffects1.nim +++ b/tests/reject/teffects1.nim @@ -1,6 +1,6 @@ discard """ line: 15 - errormsg: "instantiation from here" + errormsg: "can raise an unlisted exception: ref EIO" """ type diff --git a/tests/reject/teffects2.nim b/tests/reject/teffects2.nim index 51b583411..73b5edcc9 100644 --- a/tests/reject/teffects2.nim +++ b/tests/reject/teffects2.nim @@ -1,6 +1,6 @@ discard """ line: 13 - errormsg: "instantiation from here" + errormsg: "can raise an unlisted exception: ref EIO" """ type diff --git a/todo.txt b/todo.txt index b21471e89..90d3aaad0 100755 --- a/todo.txt +++ b/todo.txt @@ -2,6 +2,7 @@ version 0.9.2 ============= - implement the effect system +- implement for loop transformation for first class iterators - overloading based on ASTs: 'constraint' should not be in PType but for the parameter *symbol* @@ -13,7 +14,6 @@ version 0.9.2 - document 'mixin' for generics and symbol lookup rules; special rule for ``[]=`` - implement the compiler as a service -- implement for loop transformation for first class iterators - ``=`` should be overloadable; requires specialization for ``=`` - make 'bind' default for templates and introduce 'mixin' - implicit deref for parameter matching; overloading based on 'var T' |