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

Declaration at end of scope error #59

Open
GoogleCodeExporter opened this issue Jul 7, 2015 · 2 comments
Open

Declaration at end of scope error #59

GoogleCodeExporter opened this issue Jul 7, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Although it is not a very big issue (seeing as to how it is useless), it is 
good to at least have it on documentation.

Kernel kernel = new Kernel(){
            @Override public void run(){
                {
                    int insideScope = 0;
                }
                int outsideScope = 0;
            }
        };

Whenever a variable is declared at the end of a scope and not used, it creates 
a NullPointerException 
"com.amd.aparapi.InstructionSet$LocalVariableConstIndexStore.isDeclaration"


Original issue reported on code.google.com by [email protected] on 25 Jul 2012 at 3:48

@GoogleCodeExporter
Copy link
Author

Thanks for submitting this.  I will create a junit for this to track it. Unless 
you would prefer to do so ;) 

Original comment by [email protected] on 25 Jul 2012 at 7:30

@GoogleCodeExporter
Copy link
Author

Confirmed this still exists as of 4/21/2013

Original comment by [email protected] on 21 Apr 2013 at 11:23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant