Class NoDuplicatedTraitsOrError

java.lang.Object
org.ek9lang.compiler.phase2.NoDuplicatedTraitsOrError
All Implemented Interfaces:
Consumer<AggregateWithTraitsSymbol>

final class NoDuplicatedTraitsOrError extends Object implements Consumer<AggregateWithTraitsSymbol>
Checks for duplicated trait names on an aggregate (E02050). Every trait listed more than once is named in ONE error (D14, Steve 2026-10-19): the error is keyed by line, so a second error on the declaration's line was dropped and only the first duplicated name was ever reported.