You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Lukas Ott (Jira)" <ji...@apache.org> on 2022/11/09 10:21:00 UTC

[jira] [Commented] (PLC4X-306) [Go] [CodeGeneration] When generating code for two arrays within one type, the output is invalid

    [ https://issues.apache.org/jira/browse/PLC4X-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17630940#comment-17630940 ] 

Lukas Ott commented on PLC4X-306:
---------------------------------

This issue has been migrated to https://github.com/apache/plc4x/issues/617

> [Go] [CodeGeneration] When generating code for two arrays within one type, the output is invalid
> ------------------------------------------------------------------------------------------------
>
>                 Key: PLC4X-306
>                 URL: https://issues.apache.org/jira/browse/PLC4X-306
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Code-Generation
>    Affects Versions: 0.9.0
>            Reporter: Christofer Dutz
>            Priority: Major
>              Labels: low-hanging-fruit
>
> When generating code for count-arrays a numberOfBytes variable is declared automatically. As soon as one type contains two count-arrays the second one has a compile error: "no new variables on left side of :=" ... should be a simple fix ... 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)