Stratego/XT JIRA  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STR-485
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Eelco Visser
Reporter: Martin Bravenboer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Stratego/XT

Formal parameters of external definitions are not renamed

Created: 2005-12-12 23:13   Updated: 2008-03-31 20:41
Component/s: strc - Stratego compiler
Affects Version/s: 0.18 (Standard C and Stratego Libraries)
Fix Version/s: 0.17

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Not a problem in practice., but good to fix anyway.

---------------------------------
module foo
strategies

  main =
    foo

  external 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 function `main_0_0':
foo.c:18: error: too few arguments to function `foo_0_1'
---------------------------------

C header:
---------------------------------
ATerm foo_0_1 (ATerm t, ATerm t);
---------------------------------

 All   Comments   Work Log   Change History      Sort Order:
Eelco Visser [2006-09-03 14:12]
they are now