title: AmbiguousSelector layout: article

AmbiguousSelector occurs when a selector is ambiguous.

Example:
 type E1 struct { i int }
 type E2 struct { i int }
 type T struct { E1; E2 }

 var x T
 var _ = x.i