Added missing node
This commit is contained in:
@ -8,6 +8,9 @@ func Count(body AST, buffer []byte, kind token.Kind, name string) uint8 {
|
||||
|
||||
for _, node := range body {
|
||||
switch node := node.(type) {
|
||||
case *Assert:
|
||||
count += node.Condition.Count(buffer, kind, name)
|
||||
|
||||
case *Assign:
|
||||
count += node.Expression.Count(buffer, kind, name)
|
||||
|
||||
|
Reference in New Issue
Block a user