Enum of same names

In reply to raj1150:

If you have the same enumeration in two packages, you can prevent conflicts by:

  • Create unique enumerations by pre-pending the package name (or other identifier) to each enumeration element.
  • Defining the enumeration once in a package, then importing that package into the two block packages.
  • Use the package scope when referencing the enum to select which version you want to use. Note that this prevents you from importing all symbols from each package using the ‘*’ import.