santerijps / xander

Xander: A Nim web application framework
MIT License
56 stars 7 forks source link

doesn't compile with 1.4.0 #7

Open ITwrx opened 3 years ago

ITwrx commented 3 years ago

Error: ambiguous call; both tools.indentation(s: string) [declared in /home/username/.nimble/pkgs/xander-0.6.0/xander/tools.nim(18, 6)] and strutils.indentation(s: string) [declared in /home/username/.choosenim/toolchains/nim-1.4.0/lib/pure/strutils.nim(1562, 6)] match for: (string)

compiles with 1.0.10 and 1.2.8

JosiasAurel commented 3 years ago

Please can this issue be fixed ? I really want to try this framework but I get q similar error

Error: ambiguous call; both tools.indentation(s: string) [declared in /data/data/com.termux/files/home/.nimble/pkgs/xander-0.6.0/xander/tools.nim(18, 6)] and strutils.indentation(s: string) [declared in /data/data/com.termux/files/usr/lib/nim/lib/pure/strutils.nim(1548, 6)] match for: (string)