1
2
3
4
5
6
7
8
9
10
11
Error: type mismatch
Expression: removePrefix(input, root & "\\")
  [1] input: string
  [2] root & "\\": string

Expected one of (first mismatch at [position]):
[1*] func removePrefix(s: var string; c: char)
[1*] func removePrefix(s: var string; chars: set[char] = Newlines)
[1*] func removePrefix(s: var string; prefix: string)

*: argument is immutable, not 'var'