nit
nit copied to clipboard
Callref norecv
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