/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
- ****** Error: In type BAD_REDEFINE17, features "bar1" and "bar2"
- come from the same original feature via multiple "insert" paths,
- but none comes via an "inherit" path.
- Below, you get the feature evolution step by step. Note that in
- the end (type BAD_REDEFINE17) there are two versions of the same
- initial feature with two different names. To fix this, either
- use enough "inherit" links in place of "insert" links to have
- one "inherit" path or rename the feature to get the same name
- in BAD_REDEFINE17 type.
- First "insert" path (from parent to child):
- `bar' in AUX_REDEFINE17A
- inserted as `bar1' in AUX_REDEFINE17B
- inserted as `bar1' in BAD_REDEFINE17
- Second "insert" path (from parent to child):
- `bar' in AUX_REDEFINE17A
- inserted as `bar2' in AUX_REDEFINE17C
- inserted as `bar2' in BAD_REDEFINE17
- ------
- ****** Fatal Error: Correct the previous error first.
- ------