summary refs log tree commit diff stats
path: root/tests/astspec
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-03-27 02:28:11 -0700
committerGitHub <noreply@github.com>2021-03-27 10:28:11 +0100
commita65189a739c59fcc0d7b3f8fdcb2cf8bed432f68 (patch)
tree079934acdaad7f51edd35b54e2390c3c2f08daed /tests/astspec
parent8ed6de4fe6517dc4db38ab5dea898c0016d1c08a (diff)
downloadNim-a65189a739c59fcc0d7b3f8fdcb2cf8bed432f68.tar.gz
nnkArglist => nnkArgList + special case stylecheck:error (#17529)
* nnkArglist => nnkArgList

* special case stylecheck:error
Diffstat (limited to 'tests/astspec')
-rw-r--r--tests/astspec/tastspec.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/astspec/tastspec.nim b/tests/astspec/tastspec.nim
index 3413d32f3..e2cfed277 100644
--- a/tests/astspec/tastspec.nim
+++ b/tests/astspec/tastspec.nim
@@ -929,7 +929,7 @@ static:
         (x & y & z) is string
 
     ast.peelOff({nnkStmtList, nnkTypeSection}).matchAst:
-    of nnkTypeDef(_, _, nnkTypeClassTy(nnkArglist, _, _, nnkStmtList)):
+    of nnkTypeDef(_, _, nnkTypeClassTy(nnkArgList, _, _, nnkStmtList)):
       # note this isn't nnkConceptTy!
       echo "ok"