Don't show Ambiguous class resolution warning if class when not ambiguous
if a class or interface is defined twice in the same class, this should not produce a warning
Merge pull request #2855 from karptonite/patchambiguous

Bugfix: Don't show Ambiguous class resolution warning when not ambiguous