Skip to content

JavaScript: destructing in function signature #4196

@masatake

Description

@masatake

h.js:

const PackageList = ({packages}) => packages ? 1 : null;

output:

$ ~/bin/ctags --options=NONE  --fields=+S --sort=no -o - /tmp/h.js 
ctags: Notice: No options will be read from files or environment
packages	/tmp/h.js	/^const PackageList = ({packages}) => packages ? 1 : null;$/;"	p	function:PackageList
PackageList	/tmp/h.js	/^const PackageList = ({packages}) => packages ? 1 : null;$/;"	f	signature:()

signature: of PackageeList should be ({package}).
package should not be tagged till we add parameter kind to the parser.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions