nnkArglist => nnkArgList + special case stylecheck:error (#17529)
* nnkArglist => nnkArgList * special case stylecheck:error
This commit is contained in:
parent
8ed6de4fe6
commit
a65189a739
10 changed files with 17 additions and 15 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue