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

/test/language/error_warning_msg/bad_export6.msg

http://github.com/tybor/Liberty
Unknown | 28 lines | 23 code | 5 blank | 0 comment | 0 complexity | 2362964c9a091621d35fc11e69c3dac4 MD5 | raw file
 1****** Error: Forbidden call (i.e. exportation rules violated) when the type of Current is AUX_EXPORT6B. (See the next error report for details.)
 2
 3Line 11 column 16 in AUX_EXPORT6A (/home/r/Liberty/test/language/error_warning_msg/aux_export6a.e):
 4            a1.g
 5               ^
 6------
 7****** Warning: The client list computed from the "export" clauses is narrower than the one from the conforming parent(s) for AUX_EXPORT6B1.`g'. This can lead to catcalls! The final export list is {}.
 8
 9The source lines relevant to this message are the following:
10
11Line 5 column 9 in AUX_EXPORT6A1 (/home/r/Liberty/test/language/error_warning_msg/aux_export6a1.e):
12feature {AUX_EXPORT6A}
13        ^             
14Line 5 column 30 in AUX_EXPORT6B1 (/home/r/Liberty/test/language/error_warning_msg/aux_export6b1.e):
15inherit AUX_EXPORT6A1 export {} g end
16                             ^       
17------
18****** Fatal Error: This feature is only exported to {}.
19
20The source lines relevant to this message are the following:
21
22Line 6 column 4 in AUX_EXPORT6A1 (/home/r/Liberty/test/language/error_warning_msg/aux_export6a1.e):
23   g
24   ^
25Line 5 column 30 in AUX_EXPORT6B1 (/home/r/Liberty/test/language/error_warning_msg/aux_export6b1.e):
26inherit AUX_EXPORT6A1 export {} g end
27                             ^       
28------