Skip to content
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

Update spec to shift ES2017 #3

Merged
merged 7 commits into from
Aug 16, 2017
Merged

Update spec to shift ES2017 #3

merged 7 commits into from
Aug 16, 2017

Conversation

disnet
Copy link
Member

@disnet disnet commented Aug 12, 2017

Sweet-spec was originally based of the ES6 version of shift spec so this updates includes all the changes from shapesecurity/shift-spec@es6...es2017#diff-448c96409569a059a7e07cf28935a2c4

@disnet disnet requested a review from gabejohnson August 12, 2017 05:52
@disnet disnet force-pushed the refactor/update-spec-es2017 branch from 119c868 to f9ef67e Compare August 12, 2017 19:17
@@ -35,6 +35,10 @@ declare export class MethodDefinition extends NamedObjectProperty {
body: FunctionBody;
}

declare export class VariableReference extends Term {
name: any; // Identifier (string)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's with all of these any types declarations?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current spec macro uses any for anything that is not a Term (anything the reducer doesn't recurse into). Not ideal so I'm also working on rewriting the spec macro (with parser combinators!) but that's taking a while.

@disnet disnet merged commit f836996 into master Aug 16, 2017
@disnet disnet deleted the refactor/update-spec-es2017 branch August 16, 2017 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants