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

Long type name incorrect when passed as a parameter #3

Open
JamesCaska opened this issue Sep 2, 2014 · 0 comments
Open

Long type name incorrect when passed as a parameter #3

JamesCaska opened this issue Sep 2, 2014 · 0 comments

Comments

@JamesCaska
Copy link

    l as long = 32768
    print l

generates the following bytecode

30: ldc 32768 (129)
32: istore_1
33: getstatic java.lang.System.out Ljava/io/PrintStream; (47)
36: iload_1
37: invokevirtual java.io.PrintStream.println (Llong;)V (132)

The 37: has the parameter (Llong;) but it should be (J)
ie
37: invokevirtual java.io.PrintStream.println (J)V (132)

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

No branches or pull requests

1 participant