nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
eb89c4d
802e126
)
Merge: Callref types
author
Jean Privat
<jean@pryen.org>
Mon, 16 Sep 2019 14:34:31 +0000
(10:34 -0400)
committer
Jean Privat
<jean@pryen.org>
Mon, 16 Sep 2019 14:34:31 +0000
(10:34 -0400)
Extended the functional type hierarchy to include RoutineRef type (aka function pointer).
Added type resolution on callref expression :
```
import functional
fun toto(x: Int) do print x
var x = &toto
assert x isa ProcRef1[Int]
```
Pull-Request: #2791
Trivial merge