nit icon indicating copy to clipboard operation
nit copied to clipboard

Callref norecv

Open Louis-Vincent opened this issue 4 years ago • 0 comments

This PR introduces callref without receiver. Here's an example :

import functional
class A
    var x: Int
    fun toto: Int do return x + 1
end

var a = new A(10)
var toto = &A.toto
assert toto.call(a) == 11

Louis-Vincent avatar Nov 10 '19 00:11 Louis-Vincent