You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/homebrew/bin/code2flow", line 8, in<module>sys.exit(main())
File "/opt/homebrew/lib/python3.10/site-packages/code2flow/engine.py", line 860, in main
code2flow(
File "/opt/homebrew/lib/python3.10/site-packages/code2flow/engine.py", line 734, in code2flow
file_groups, all_nodes, edges = map_it(sources, language, no_trimming,
File "/opt/homebrew/lib/python3.10/site-packages/code2flow/engine.py", line 478, in map_it
file_group = make_file_group(file_ast_tree, source, extension)
File "/opt/homebrew/lib/python3.10/site-packages/code2flow/engine.py", line 356, in make_file_group
fornew_nodein language.make_nodes(node_tree, parent=file_group):
File "/opt/homebrew/lib/python3.10/site-packages/code2flow/javascript.py", line 354, in make_nodes
variables = make_local_variables(this_scope_body, parent)
File "/opt/homebrew/lib/python3.10/site-packages/code2flow/javascript.py", line 193, in make_local_variables
variables += process_assign(element)
File "/opt/homebrew/lib/python3.10/site-packages/code2flow/javascript.py", line 134, in process_assign
token = target['id']['name']
KeyError: 'name'
The text was updated successfully, but these errors were encountered:
ZLY201
changed the title
Cannot resolve Destructuring Assignment for new object
[javascript] Cannot resolve Destructuring Assignment for new object
Mar 10, 2023
It can resolve:
and
but when I use:
It caught an error:
The text was updated successfully, but these errors were encountered: