+3
-1
lines changedFilter options
+3
-1
lines changed Original file line number Diff line number Diff line change
@@ -263,7 +263,7 @@ func specialChildren(node ast.Node) []ast.Node {
263
263
case *ast.ArrayComp:
264
264
return []ast.Node{node.Body}
265
265
case *ast.ObjectComp:
266
-
266
+
return inObjectFieldsChildren(node.Fields)
267
267
case *ast.Self:
268
268
return nil
269
269
case *ast.SuperIndex:
@@ -274,6 +274,8 @@ func specialChildren(node ast.Node) []ast.Node {
274
274
return nil
275
275
case *ast.Var:
276
276
return nil
277
+
case *ast.Parens:
278
+
return nil
277
279
}
278
280
panic(fmt.Sprintf("specialChildren: Unknown node %#v", node))
279
281
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4