dart-lang/dart-web-components — pull request #129 by sqs (2012-10-30 12:37:55+00:00)
Title: Don't warn or mark hasConflict when the same exact component is encountered multiple times

An import graph such as:

````
|------A----->|
main---->| |------C------>D
|------B----->|
````

where each component instantiates its successor causes analyzer.dart to encounter C twice and mark it with hasConflict. This means that C and D are not instantiated. (I couldn't trigger this error without D.) I don't believe the analyzer should complain upon encountering the same exact component in the same file multiple times when following the import graph. This patch implements that behavior.