eed3si9n / treehugger

treehugger.scala is a library to code Scala programmatically.
http://eed3si9n.com/treehugger
Other
133 stars 20 forks source link

defining a function with a block #22

Closed eyalfa closed 9 years ago

eyalfa commented 10 years ago

please see this thread: https://groups.google.com/d/msg/treehugger-scala/M608mk4GS2w/oRObNDGH8kQJ

Currently, trying to define a function without return type, implemented by a compound statement actually creates a procedure instead of a function (no equals between the parameters list and the body of the function).

eed3si9n commented 9 years ago

0.4.1 is released with the change.