mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
made some tests green
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
line: 15
|
||||
errormsg: "instantiation from here"
|
||||
errormsg: "can raise an unlisted exception: ref EIO"
|
||||
"""
|
||||
|
||||
type
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
line: 13
|
||||
errormsg: "instantiation from here"
|
||||
errormsg: "can raise an unlisted exception: ref EIO"
|
||||
"""
|
||||
|
||||
type
|
||||
|
||||
2
todo.txt
2
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'
|
||||
|
||||
Reference in New Issue
Block a user