PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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