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

Implement Java 8 Constants #10

Merged
merged 3 commits into from
Apr 18, 2017
Merged

Implement Java 8 Constants #10

merged 3 commits into from
Apr 18, 2017

Conversation

FormallyMyles
Copy link
Contributor

@FormallyMyles FormallyMyles commented Apr 12, 2017

As per https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html

Untested for writing but tested for reading.

(No automated tests at the moment)

@@ -506,7 +575,26 @@ def pack(self, fout):
constant._name_index,
constant._descriptor_index
))

elif isinstance(constant, ConstantMethodHandle):
write(pack(
Copy link
Owner

Choose a reason for hiding this comment

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

Github messing up here or is this indentation way off?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It looks fine in raw on GitHub, I've noticed there was a blank line missing after the else if block so I've added that on. Let me know if anything else is missing.

@TkTech
Copy link
Owner

TkTech commented Apr 18, 2017

This is what I'm seeing:

image

Just gotta fix the indentation and this can go in, thanks!

@FormallyMyles
Copy link
Contributor Author

@TkTech Formatting should be fixed now

@TkTech TkTech merged commit 8a5b06b into TkTech:master Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants