-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TIG-1115 Modify generate.jstestfuzz
to support context functionality
#8
Conversation
generate.jstestfuzz
to support context functionality
This is ready for a look. |
@@ -62,15 +62,6 @@ describe("bin/nearleyc", function() { | |||
} | |||
}); | |||
|
|||
it('builds for CoffeeScript', function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coffeescript syntax with objects is weird. I spent sometime trying to figure out how to get it right but couldn't quite get it.
For example this object fails syntax:
obj: {num: '5', str: 'valid so far', func1: () => "valid so far", func2: () => "fails on last comma"}
I got annoyed and just deleted the test.
NVM it's broken again. |
Ok I fixed the issue (incorrect regex). Ready for review again. Here's
Here's
Couple of things to note:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Excellent stuff. I'm going to add a few tests so I can play around with it a bit.
I added a test for lexing 'jsForUpdateContext' |
Posting this for visibility - will merge in once jstestfuzz side of TIG-1115 is done. It's not yet ready as there are breaking changes that I need to resolve first.