Skip to content

[Fix] Static class callback fixes #720 #721

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

Merged
merged 2 commits into from
Jul 20, 2019

Conversation

jtenner
Copy link
Contributor

@jtenner jtenner commented Jul 19, 2019

This is my first pass at fixing #720.

Thoughts?

src/compiler.ts Outdated
@@ -7989,9 +7989,17 @@ export class Compiler extends DiagnosticEmitter {
);
}
case ElementKind.FUNCTION_PROTOTYPE: {
let prototypeInstance = <FunctionPrototype>target;
Copy link
Member

Choose a reason for hiding this comment

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

Typically named just "prototype" in other parts of the compiler.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All set!

@dcodeIO
Copy link
Member

dcodeIO commented Jul 20, 2019

LGTM with the comments addressed :)

@jtenner
Copy link
Contributor Author

jtenner commented Jul 20, 2019

This is definitely my first time trying to work with the compiler. Thanks for the information.

@dcodeIO dcodeIO merged commit 3b227d4 into AssemblyScript:master Jul 20, 2019
@dcodeIO
Copy link
Member

dcodeIO commented Jul 20, 2019

Thanks! :)

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