Open JohnCoene opened 2 weeks ago
Should it be allowed to mix signatures and types.
type math: func(x: int): int func foo(callback: math | null): int { return 1 }
In foo callback can either be a variable or a function, and that just feels wrong, but there may be some odd cases where it may be useful.
foo
callback
Should it be allowed to mix signatures and types.
In
foo
callback
can either be a variable or a function, and that just feels wrong, but there may be some odd cases where it may be useful.