diff options
author | Araq <rumpf_a@web.de> | 2018-05-14 21:38:18 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-05-14 21:38:18 +0200 |
commit | 02b78d3f94225ab1b204191d0fb199125787f31d (patch) | |
tree | 03c3a5595edf56c8d219c92fec14358c1bf76d69 /compiler/semcall.nim | |
parent | 5526252fa0218816c3ca5399a7cb927d9b2bbdc4 (diff) | |
download | Nim-02b78d3f94225ab1b204191d0fb199125787f31d.tar.gz |
make tests green again
Diffstat (limited to 'compiler/semcall.nim')
-rw-r--r-- | compiler/semcall.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/semcall.nim b/compiler/semcall.nim index b4d4cad7e..e9a31d3d6 100644 --- a/compiler/semcall.nim +++ b/compiler/semcall.nim @@ -507,8 +507,8 @@ proc explicitGenericInstantiation(c: PContext, n: PNode, s: PSym): PNode = # number of generic type parameters: if safeLen(s.ast.sons[genericParamsPos]) != n.len-1: let expected = safeLen(s.ast.sons[genericParamsPos]) - localError(c.config, n.info, errGenerated, "cannot instantiate: " & renderTree(n) & - "; got " & $(n.len-1) & " type(s) but expected " & $expected) + localError(c.config, n.info, errGenerated, "cannot instantiate: '" & renderTree(n) & + "'; got " & $(n.len-1) & " type(s) but expected " & $expected) return n result = explicitGenericSym(c, n, s) if result == nil: result = explicitGenericInstError(c, n) |