Menu

#69 Reversed parameter order in compiled C

closed-fixed
5
2012-09-30
2012-09-24
No

If a parameterized interface with greater than 1 parameter is declared in a module, the compiled result will *reverse* the parameter order for all functions compiled for that interface. Attached is an example program to illustrate. The spontaneous function in MainP is expected to return '1', but actually returns '2'

Discussion

  • Phil Buonadonna

    Phil Buonadonna - 2012-09-24

    bug example

     
  • David Gay

    David Gay - 2012-09-30
    • status: open --> closed-fixed
     
  • David Gay

    David Gay - 2012-09-30

    Fixed on github (https://github.com/tinyprod/nesc/)