nimsuggest icon indicating copy to clipboard operation
nimsuggest copied to clipboard

Nimsuggest triggers a compiler error when import chronos

Open nature-0 opened this issue 5 years ago • 1 comments

Importing https://github.com/status-im/nim-chronos in a nim file and then running nimsuggest on that file triggers the following error:

Traceback from system (most recent call last)
Error: unhandled exception: ast.nim(1297, 18) `false` tyProxy [AssertionError]

nature-0 avatar Oct 02 '20 21:10 nature-0

I can't replicate this with latest nimsuggest

https://github.com/saem/nim-misc/blob/main/nimsuggest_116_chronos_error/src/main.nim (ignore the nimble cruft)

nimsuggest version:

Nim Compiler Version 1.5.1 [Linux: amd64]
Compiled at 2021-01-03
Copyright (c) 2006-2020 by Andreas Rumpf

git hash: cf714c129f7dd598863d1cc588e685df2438c658
active boot switches: -d:release -d:danger --gc:markAndSweep

saem avatar Jan 03 '21 19:01 saem