alexroldugin / spray

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

Discover colliding imports #215

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Giving a referenced shape the same name as used for the referenced domain model 
object will result in a conflicting import, where the a class with the same 
simple name is tried to imported from different packages. Such conflict may 
occur also in other situations. 

class Transition {
    connection Transition {
        name into connectionText
        // event.name into connectionText
        // fromState.name into fromText
        // toState.name into toText
    } 

The generator should discover such conflicts and should use for one class the 
import and for the other class full qualified access. A matter of the Spray 
import manager.

Original issue reported on code.google.com by de.abg.r...@gmail.com on 1 Dec 2012 at 8:52