uqbar-project / wollok

Wollok Programming Language
GNU General Public License v3.0
60 stars 16 forks source link

Method Flow and return validation fails if there's a return in a closure #479

Closed javierfernandes closed 8 years ago

javierfernandes commented 8 years ago

Example:

    method cargar() {
        #["hola", "chau"]
            .map[ p |
                return p
            ]
    }
npasserini commented 8 years ago

Maybe we should need to formalize which are valid uses of closures in wollok, at leas regarding return.

On Sun, Dec 13, 2015 at 3:07 PM, javierfernandes notifications@github.com wrote:

Closed #479 https://github.com/uqbar-project/wollok/issues/479.

— Reply to this email directly or view it on GitHub https://github.com/uqbar-project/wollok/issues/479#event-490419999.