anuragraghavan / franca

Automatically exported from code.google.com/p/franca
0 stars 0 forks source link

Franca Editor union check #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Creating a union with two Int32 will report an error.
2. Creating a union with one Int32 and one typedef referring an Int32 does not 
report an error.

-> Unions with duplicate types are not reported erroneous in all cases.
-> these unions are not usable in CommonAPI code

Original issue reported on code.google.com by martinha...@gmail.com on 24 Jul 2014 at 2:53

GoogleCodeExporter commented 9 years ago

Original comment by klaus.birken@gmail.com on 10 Nov 2014 at 12:01

GoogleCodeExporter commented 9 years ago

Original comment by klaus.birken@gmail.com on 11 Dec 2014 at 12:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The issue has been fixed with test cases . sample file attached should give 
errors for duplicates in union taking into account typeDef recursivily

Original comment by vinayaka...@gmail.com on 16 Dec 2014 at 9:05

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by klaus.birken@gmail.com on 25 Jan 2015 at 11:38

GoogleCodeExporter commented 9 years ago
Implemented with commit ef9a10c on develop, unit test now replaced by Xpect 
test with commit 5c020e4.

Original comment by klaus.birken@gmail.com on 8 May 2015 at 8:05