STR-485: Formal parameters of external definitions are not renamed
Not a problem in practice., but good to fix anyway.
module foo
strategiesmain =
fooexternal foo(|t)
———————————
[ strc | info ] Front-end succeeded : [user/system] = [0.33s/0.53s]
[ strc | info ] Optimization succeeded -O 2 : [user/system] = [0.01s/0.05s]
[ strc | info ] Back-end succeeded : [user/system] = [0.14s/0.14s]
[ strc | error ] Command failed :
foo.c:15: error: redefinition of parameter ‘t’
foo.c:15: error: previous definition of ‘t’ was here
foo.c: In functionmain_0_0': foo.c:18: error: too few arguments to function
foo_0_1’
———————————C header:
Submitted on 13 December 2005 at 00:13
———————————
ATerm foo_0_1 (ATerm t, ATerm t);
———————————
Issue Log
On 3 September 2006 at 16:12 Jira commented:
STR-485, visser:
they are now
Log in to post comments