aboutsummaryrefslogtreecommitdiffhomepage
path: root/notes/funcref.txt
blob: 3abc50704d9aef7c9ad92b82ffe4cac811665189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

Function references
===================

Function references can have different properties that ordinary
references:

1. Might not be possible to compare (except with `none`).
2. May or may not have the same size as an ordinary reference.

Due to point 1 it shouldn't be allowed to put the in slot types.
(Point 2 could be solved by making the slot type larger if funcref
types are larger than ref types).