I'm writing a small tool in Nim and ran into the compiler error "expression ... 
has no type (or is ambiguous)".

Here's a simplified example that still gives the error message: 
[https://play.nim-lang.org/#ix=1Z5M](https://play.nim-lang.org/#ix=1Z5M)

Granted, the cleanedXmi proc has no return type, but usually that's not a 
problem. Why would I need one here? Or am I misinterpreting the error message? 
Anyway, I can't figure out why I get this error and how I can fix it. Please 
help. :-)

Reply via email to