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

/test/language/error_warning_msg/bad_redefine11.msg

http://github.com/tybor/Liberty
Unknown | 30 lines | 25 code | 5 blank | 0 comment | 0 complexity | e0a5c64391a12c4261110bf3ddd7e4b7 MD5 | raw file
 1****** Error: Type AUX_B is not a valid redefinition for AUX_C.
 2Signature of the redefined feature is not valid.
 3
 4The source lines relevant to this message are the following:
 5
 6Line 7 column 13 in AUX_C (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/aux_c.e):
 7   foo(bar: AUX_B)
 8            ^     
 9Line 7 column 13 in AUX_B (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/aux_b.e):
10   foo(bar: AUX_C)
11            ^     
12------
13****** Error: 
14
15------
16****** Fatal Error: Signature of the redefined feature is not
17valid.
18
19The source lines relevant to this message are the following:
20
21Line 5 column 9 in AUX_C (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/aux_c.e):
22inherit AUX_B redefine foo, foo2 end
23        ^                           
24Line 7 column 4 in AUX_C (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/aux_c.e):
25   foo(bar: AUX_B)
26   ^              
27Line 7 column 4 in AUX_B (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/aux_b.e):
28   foo(bar: AUX_C)
29   ^              
30------