made some tests green

This commit is contained in:
Araq 2012-11-07 01:08:31 +01:00
commit 515cf985f4
4 changed files with 6 additions and 4 deletions

View file

@ -68,7 +68,9 @@ type
EvMsg, EvDisconnected EvMsg, EvDisconnected
TIRCEvent* = object ## IRC Event TIRCEvent* = object ## IRC Event
case typ*: TIRCEventType case typ*: TIRCEventType
of EvDisconnected: nil ## Disconnected from the server of EvDisconnected:
## Disconnected from the server
nil
of EvMsg: ## Message from the server of EvMsg: ## Message from the server
cmd*: TIRCMType ## Command (e.g. PRIVMSG) cmd*: TIRCMType ## Command (e.g. PRIVMSG)
nick*, user*, host*, servername*: string nick*, user*, host*, servername*: string

View file

@ -1,6 +1,6 @@
discard """ discard """
line: 15 line: 15
errormsg: "instantiation from here" errormsg: "can raise an unlisted exception: ref EIO"
""" """
type type

View file

@ -1,6 +1,6 @@
discard """ discard """
line: 13 line: 13
errormsg: "instantiation from here" errormsg: "can raise an unlisted exception: ref EIO"
""" """
type type

View file

@ -2,6 +2,7 @@ version 0.9.2
============= =============
- implement the effect system - 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 - overloading based on ASTs: 'constraint' should not be in PType but for the
parameter *symbol* parameter *symbol*
@ -13,7 +14,6 @@ version 0.9.2
- document 'mixin' for generics and symbol lookup rules; special rule - document 'mixin' for generics and symbol lookup rules; special rule
for ``[]=`` for ``[]=``
- implement the compiler as a service - implement the compiler as a service
- implement for loop transformation for first class iterators
- ``=`` should be overloadable; requires specialization for ``=`` - ``=`` should be overloadable; requires specialization for ``=``
- make 'bind' default for templates and introduce 'mixin' - make 'bind' default for templates and introduce 'mixin'
- implicit deref for parameter matching; overloading based on 'var T' - implicit deref for parameter matching; overloading based on 'var T'