Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Arrow functions with a single param as default arguments to functions #193

Closed
@ghost

Description

// incorrect highlighting - arrow isn't highlighted
function f (a = _ => _) { }
function f (a = arg => arg) { }
function f (a = ret => ret) { }
function f (a = pchaigno => pchaigno) { }

// correct highlighting - arrow is highlighted
function f (a = (_) => _) { }
function f (a = (arg) => arg) { }
function f (a = (ret) => ret) { }
function f (a = (pchaigno) => pchaigno) { }

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