diff options
Diffstat (limited to 'compiler/evals.nim')
-rwxr-xr-x | compiler/evals.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/evals.nim b/compiler/evals.nim index c6248e823..0d960c952 100755 --- a/compiler/evals.nim +++ b/compiler/evals.nim @@ -898,7 +898,7 @@ proc evalIsOp*(n: PNode): PNode = result.typ = n.typ proc expectString(n: PNode) = - if n.kind notin {nkStrLit, nkRStrLit, nkTripleStrLit}: + if n.kind notin nkStrKinds: GlobalError(n.info, errStringLiteralExpected) proc evalSlurp*(e: PNode, module: PSym): PNode = |