anuragraghavan / franca

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

Prohibit fully-qualified names for typeCollections and interfaces. #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the fully qualified name for some Franca element is a concatenation 
of the package, the FQN prefix of the element and the element name itself. 
E.g., it is possible to define 

package a.b.c
typeCollection d.e.f.MyTC {
   struct ABC { }
}

and the FQN of the struct will be a.b.c.d.e.f.MyTC.ABC.

However, the typeCollection (and the same holds for interfaces) should be part 
of the package a.b.c. Thus, it should be prohibited that there is another FQN 
prefix for the name of the typeCollection.

Note: This will be a an API-breaking change, if the FQN prefixes are currently 
used for typeCollections and interfaces.

Original issue reported on code.google.com by klaus.birken@gmail.com on 29 Nov 2013 at 9:38

GoogleCodeExporter commented 9 years ago
Implemented by commit 1d5f9bc. Will be released with 0.9.0.

Original comment by klaus.birken@gmail.com on 17 Jan 2014 at 1:00

GoogleCodeExporter commented 9 years ago
Merged on master.

Original comment by klaus.birken@gmail.com on 19 Feb 2014 at 10:26