Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Instantiate: 'T' #23

Open
ImVexed opened this issue Mar 4, 2019 · 1 comment
Open

Cannot Instantiate: 'T' #23

ImVexed opened this issue Mar 4, 2019 · 1 comment

Comments

@ImVexed
Copy link

ImVexed commented Mar 4, 2019

Nim Compiler Version 0.19.4 [Linux: amd64]

Fresh nimble install of reactor, had to manually clone libuv and reset to specified hash.

Upon compilation of sample program:

import reactor/tcp, reactor/async


proc main() {.async.} =
    let server = await createTcpServer(5000)
    asyncFor conn in server.incomingConnections:
        # handle incoming connection
        await conn.output.write("hello")

when isMainModule:
    main().runMain

I get:

nim c -r --threads:on --nilseqs:on tcp_client.nim
Hint: used config file '~/.choosenim/toolchains/nim-0.19.4/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: tcp_client [Processing]
Hint: tcp [Processing]
Hint: util [Processing]
Hint: future [Processing]
Hint: macros [Processing]
Hint: bytes [Processing]
Hint: endians [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
Hint: algorithm [Processing]
Hint: unicode [Processing]
Hint: base64 [Processing]
Hint: views [Processing]
Hint: lang [Processing]
Hint: loop [Processing]
Hint: uv [Processing]
Hint: errno [Processing]
Hint: posix [Processing]
Hint: build [Processing]
Hint: os [Processing]
Hint: times [Processing]
Hint: options [Processing]
Hint: typetraits [Processing]
Hint: strformat [Processing]
Hint: ospaths [Processing]
Hint: osproc [Processing]
Hint: strtabs [Processing]
Hint: hashes [Processing]
Hint: streams [Processing]
Hint: cpuinfo [Processing]
Hint: linux [Processing]
Hint: uvutil [Processing]
Hint: ipaddress [Processing]
Hint: sequtils [Processing]
Hint: iterate [Processing]
~/.nimble/pkgs/reactor-0.5.0/reactor/ipaddress.nim(196, 12) template/generic instantiation from here
~/.nimble/pkgs/collections-0.5.2/collections/iterate.nim(46, 20) Error: cannot instantiate: 'T'
@zielmicha
Copy link
Owner

Probably some versioning conflict again... Will fix this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants