summary refs log tree commit diff stats
path: root/compiler/evals.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/evals.nim')
-rwxr-xr-xcompiler/evals.nim2
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 =