[ 
https://issues.apache.org/jira/browse/CALCITE-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Feinauer closed CALCITE-2756.
------------------------------------
    Resolution: Fixed

I just observed that this Code does not (yet) exist in master, thus I fix it in 
the local branch I'm working on. 

> 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)

Reply via email to