/test/language/error_warning_msg/bad_redefine17.msg

http://github.com/tybor/Liberty · Unknown · 24 lines · 20 code · 4 blank · 0 comment · 0 complexity · bf85fb9a6a9fab06494fee7f36eb0006 MD5 · raw file

  1. ****** Error: In type BAD_REDEFINE17, features "bar1" and "bar2"
  2. come from the same original feature via multiple "insert" paths,
  3. but none comes via an "inherit" path.
  4. Below, you get the feature evolution step by step. Note that in
  5. the end (type BAD_REDEFINE17) there are two versions of the same
  6. initial feature with two different names. To fix this, either
  7. use enough "inherit" links in place of "insert" links to have
  8. one "inherit" path or rename the feature to get the same name
  9. in BAD_REDEFINE17 type.
  10. First "insert" path (from parent to child):
  11. `bar' in AUX_REDEFINE17A
  12. inserted as `bar1' in AUX_REDEFINE17B
  13. inserted as `bar1' in BAD_REDEFINE17
  14. Second "insert" path (from parent to child):
  15. `bar' in AUX_REDEFINE17A
  16. inserted as `bar2' in AUX_REDEFINE17C
  17. inserted as `bar2' in BAD_REDEFINE17
  18. ------
  19. ****** Fatal Error: Correct the previous error first.
  20. ------