grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.59k stars 323 forks source link

fix #1060 using parenthesis #1061

Closed crop2000 closed 1 month ago

crop2000 commented 1 month ago

rust fails to differentiate between multiplication binary-operator and deference unary-operator, in the context of if-else clauses. because of this we need to wrap if-else clauses in a parenthesis through it becomes clear to the compiler that we expect a return value, and this implies that * means multiplication.

sletz commented 1 month ago

Thanks!.