[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (CALCITE-2756) ForEachStatement generates invalid Java Code

Julian Feinauer created CALCITE-2756:

             Summary: ForEachStatement generates invalid Java Code
                 Key: CALCITE-2756
                 URL: https://issues.apache.org/jira/browse/CALCITE-2756
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Feinauer
            Assignee: Julian Feinauer

Code generated by the ForEachStatement in org.apache.calcite.linq4j.tree looks like:

 for (i : list) {

I.e. the Paramter Type for the looping parameter is missing.
Thus, this cannot be used for codegen because Janino fails then.

This message was sent by Atlassian JIRA