Created
October 11, 2016 02:46
-
-
Save jokeyrhyme/4f1a7580deb9f4727bd35f0e7953291a to your computer and use it in GitHub Desktop.
sample code to trigger a weird colouring issue with the language-babel plugin for Atom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
function looksFine () {} | |
function looksFineWithArgs ( | |
first /* : string */, | |
second /* : number */ | |
) /* : boolean */ { | |
const statementsLookGood = true | |
return false | |
} | |
/* :: | |
type Options = { [id:string]: string } | |
*/ | |
function weirdSyntaxHighlight ( | |
options /* : Options */ | |
) /* : void */ { | |
const firstLettersOfEachLineAreWeird = true | |
return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See: gandm/language-babel#263