yglukhov / nimx

GUI library
MIT License
1.09k stars 75 forks source link

composition.nim(247, 18) Error: ambiguous call; both system.min #410

Closed timotheecour closed 4 years ago

timotheecour commented 4 years ago

using latest nim devel 5f6962337de94b524afbb4f41b79eae362af67c8

git clone https://github.com/yglukhov/nimx && cd nimx nim c -r --threads:on test/main.nim # (the cmd run in important_packages)

nimx/composition.nim(247, 18) Error: ambiguous call; both system.min(x: float32, y: float32) [declared in /Users/timothee/git_clone/nim/Nim_temp2/lib/system.nim(1474, 6)] and nimsl.min(u: float32, v: float32) [declared in /Users/timothee/git_clone/nim/nimsl/nimsl/nimsl.nim(205, 6)] match for: (float32, float32) result *= min(ab.x, ab.y)

timotheecour commented 4 years ago

fixed by updating $nim_D/nimsl (which was under nimble develop); however, running into another issue after that...