* remove pre-1.0 stdlib deprecations notable exceptions: * ze, toU8 etc in system/arithmetics * potentially callsite * undo macros, ospaths, securehash, oswalkdir * add sets back * add back future, document deprecated versions * add to changelog [skip ci]
17 lines
291 B
Nim
17 lines
291 B
Nim
discard """
|
|
cmd: "nim $target --threads:on $options $file"
|
|
errormsg: "illegal recursion in type 'TIRC'"
|
|
line: 12
|
|
"""
|
|
|
|
import net
|
|
import strutils
|
|
import os
|
|
|
|
type
|
|
TIRC = object
|
|
Socket: Socket
|
|
Thread: Thread[TIRC]
|
|
|
|
proc initIRC*(): TIRC =
|
|
result.Socket = socket()
|