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

Fix function keyword as property name #417

Merged
merged 4 commits into from
Aug 23, 2016
Merged

Fix function keyword as property name #417

merged 4 commits into from
Aug 23, 2016

Conversation

MaximSokolov
Copy link
Contributor

@MaximSokolov MaximSokolov commented Aug 23, 2016

#334 (comment)

// highlights the contents of the string correctly as a string:
{ func: 'function foo() { return "foo"; }' };
"things are ok";

// now it thinks the string contents are actually a function definition:
{ function: 'function foo() { return "foo"; }' };
"not ok... :("

Fixes:

foo: a => a
foo : a => a // bug

@winstliu winstliu merged commit 84b91e8 into atom:master Aug 23, 2016
@MaximSokolov MaximSokolov deleted the fix-function-keyword-as-propery-name branch August 23, 2016 18:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants