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.

Should Strings as Argument Default Values be Highlighted? #111

Closed

Description

@liuderchi

In CoffeeScript

screenshot from 2017-01-17 10 50 09

class Person
  greet: (msg='hello') ->
    console.log msg

'hello' is not highlighted, while in js:

// JavaScript
function greet(msg='hello') {
  console.log(msg);
}
var greet = (msg='hello') =>
  console.log(msg);

Versions:
language-coffee-script v0.48.2
Atom v1.14.0-beta1

BTW I am not sure whether this issue is included in #103

Activity

  1. changed the title [-]Should strings as argument default values be highlighted?[/-] [+]Should Strings as Argument Default Values be Highlighted?[/+] on Jan 17, 2017
  2. winstliu commented on Jan 17, 2017

    @winstliu
    Contributor

    Yes, this will be fixed by #103.
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions