-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
119c868
to
f9ef67e
Compare
@@ -35,6 +35,10 @@ declare export class MethodDefinition extends NamedObjectProperty { | |||
body: FunctionBody; | |||
} | |||
|
|||
declare export class VariableReference extends Term { | |||
name: any; // Identifier (string) |
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.
What's with all of these any
types declarations?
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.
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.
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