[Pharo-dev] Multiline method definition in Tonel

Mariano Martinez Peck marianopeck at gmail.com
Fri Dec 7 11:56:38 EST 2018


Hi guys,

I was reading the Tonel spec here [1] but it is not clear to me the case of
the multiline method definitions. Are those allowed or not?  Say I have a
method like this:

testWith: arg1
     with: arg2
     with: arg3

^ 42

Is that valid as Tonel format? Or tonel expects to have method definition
in a one liner like:

testWith: arg1 with: arg2 with: arg3

^ 42


Thanks in advance,


[1] https://github.com/pharo-vcs/tonel

-- 
Mariano
https://twitter.com/MartinezPeck
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20181207/2df81eb6/attachment.html>


More information about the Pharo-dev mailing list