Class DuplicatePackageBlockOrError

java.lang.Object
org.ek9lang.compiler.phase1.DuplicatePackageBlockOrError
All Implemented Interfaces:
BiPredicate<ModuleScope, EK9Parser.PackageBlockContext>

final class DuplicatePackageBlockOrError extends Object implements BiPredicate<ModuleScope, EK9Parser.PackageBlockContext>
Detects when a second 'defines package' block appears in a module and emits a dedicated error rather than a generic duplicate symbol message.