stanford-ppl / Forge

A prototype meta DSL that generates Delite DSL implementations from a specification-like program.
49 stars 23 forks source link

Extra parenthesis around function in codegenerated code #29

Closed AustinBGibbons closed 11 years ago

AustinBGibbons commented 11 years ago

$4(arg0, arg1)

generates

val b_arg4 = reifyEffects(_arg4((farg4arg0,farg4___arg1)))

(should be?)

val b_arg4 = reifyEffects(_arg4(farg4arg0,farg4___arg1))

my inability to create github flavored markdown aside, note __arg4 (( ... ))

asujeeth commented 11 years ago

did you use $b[] to quote the function arg? although I would be surprised if it even resembled working if you did not.

AustinBGibbons commented 11 years ago

This error exists even if the function is not called.