deathbeam / spoon

:ramen: Spoon is a programming language that runs blazingly fast, compiles to native code and works everywhere.
https://spoonlang.org
MIT License
56 stars 11 forks source link

Multiline function call #18

Closed Peekmo closed 8 years ago

Peekmo commented 8 years ago

I really need traditional multiline function call like this :

def module = Angular
        .module("mod", [])
        .factory(Config.new)
        .controller("Controller", controller)

Because I'm using a lot of chained functions, and the current style is really bad.

deathbeam commented 8 years ago

Done, solved it with this commit 9d2104cb13bf7dce469fcb3d7767754228e7ef02 . It may not be perfect, but hopefully it will work.