[
https://issues.apache.org/jira/browse/CALCITE-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde reopened CALCITE-2756:
----------------------------------
> 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
> Priority: Major
>
> Code generated by the ForEachStatement in org.apache.calcite.linq4j.tree
> looks like:
> {code:java}
> for (i : list) {
> ...
> }
> {code}
> 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
(v7.6.3#76005)