This would actually be a nice low-hanging fruit for anyone wanting to check out 
our code-generation.

So I will not fix it right away. If anyone - ideally with little experience in 
mspec and our code-generation, but being interested in getting to know it - 
feel free to raise your hand and start working on it. 

I will be available for questions and assistance.

Chris


-----Ursprüngliche Nachricht-----
Von: Christofer Dutz (Jira) <[email protected]> 
Gesendet: Mittwoch, 28. Juli 2021 11:29
An: [email protected]
Betreff: [jira] [Created] (PLC4X-306) [Go] [CodeGeneration] When generating 
code for two arrays within one type, the output is invalid

Christofer Dutz created PLC4X-306:
-------------------------------------

             Summary: [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


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.3.4#803005)

Reply via email to