Errors: $FILENAME Line 2, column 12: Component 'X' is already declared for type 'B1' $FILENAME Line 6, column 10: Component 'X' is already declared for type 'B2'