Skip to content

Closure highlighting breaks when calling functions as default values #135

@Qix-

Description

@Qix-
javac = (options = {bin: generateTmpDir()}, callback) ->
   # . . .

produces:

Bad highlighting image

The above code is completely valid and works as expected. However, when the parenthesis are added, highlighting breaks. {bin: generateTmpDir} highlights correctly, but of course that is completely functionally different.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions