TelluIoT / ThingML

The ThingML modelling language
https://github.com/TelluIoT/ThingML
Apache License 2.0
101 stars 32 forks source link

Problem with Go compiler related to abstract functions #257

Closed brice-morin closed 5 years ago

brice-morin commented 5 years ago

Seems like there is some cases where the Go compiler does not handle abstract/concrete functions very well, leading to some ambiguous selector when trying to go build...

It would probably help if the Go compiler followed the same strategy same the other compilers (merging fragments into the concrete things) instead of keeping all the fragments also in the generated code.

I'll try to make a simple test illustrating the problem.