PageRenderTime 8ms CodeModel.GetById 6ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/test/language/error_warning_msg/bad_redefine1.msg

http://github.com/tybor/Liberty
Unknown | 27 lines | 23 code | 4 blank | 0 comment | 0 complexity | 44516afb5994635227c80c87c17414f4 MD5 | raw file
 1****** Error: Incompatible signatures. (One has a result type
 2and not the other.)
 3
 4The source lines relevant to this message are the following:
 5
 6Line 21 column 4 in BAD_REDEFINE1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_redefine1.e):
 7   foo(file: TEXT_FILE_WRITE): INTEGER
 8   ^                                  
 9Line 7 column 4 in AUX_REDEFINE1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/aux_redefine1.e):
10   foo(file: STD_FILE_WRITE) do end;
11   ^                                
12------
13****** Fatal Error: Signature of the redefined feature is not
14valid.
15
16The source lines relevant to this message are the following:
17
18Line 6 column 9 in BAD_REDEFINE1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_redefine1.e):
19inherit AUX_REDEFINE1 redefine foo end;
20        ^                              
21Line 21 column 4 in BAD_REDEFINE1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_redefine1.e):
22   foo(file: TEXT_FILE_WRITE): INTEGER
23   ^                                  
24Line 7 column 4 in AUX_REDEFINE1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/aux_redefine1.e):
25   foo(file: STD_FILE_WRITE) do end;
26   ^                                
27------