anuragraghavan / franca

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

Validator does not complain about TypeCollection and Interface having same name #96

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
package example
typeCollection MyInterface {
}
interface MyInterface {
    version { major 3 minor 0 }
}

does not issue any complaints about name collision in Eclipse.
tested with Franca 0.8.10

One would expect it is not possible/useful.

Original issue reported on code.google.com by bathe...@gmail.com on 14 Apr 2014 at 2:20

GoogleCodeExporter commented 9 years ago
If there are no objections, we can add this restriction to the validator. As 
this is not backward compatible, it cannot be done in a bugfix release. We are 
moving it to a later release.

Original comment by klaus.birken@gmail.com on 10 Nov 2014 at 11:53