ols
ols copied to clipboard
proc groups are not included in fake methods
add_int :: proc (a, b: int) -> int {return a+b}
add_float :: proc (a, b: f32) -> f32 {return a+b}
add :: proc {add_float, add_int}
n: int
n. // shows only add_int
Might be related to #462
I wonder if it's better to only show the proc group. It seems silly to show add and add_int.
maybe first try matching add and then add_int if it fails? so a will give you add but ai will give add_int?