We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add_num :: proc (a, b: int) -> int {return a + b} add_vec :: proc (a, b: [2]f32) -> [2]f32 {return a + b} add :: proc {add_num, add_vec} main :: proc() { foo := add(2, 10) // `foo` doesn't show up anything bar := add(2, ) // `bar` shows up `int` }
type of foo is not getting resolved and add has a generic proc signature, instead proc (a, b: int) -> int of the procedure getting resolved.
foo
add
proc
proc (a, b: int) -> int
But when typing the paramenters, the correct signature apprears.
This affects also make, where we don't get to see the inlay hints for default arguments, as we can with new.
make
new
The text was updated successfully, but these errors were encountered:
No branches or pull requests
type of
foo
is not getting resolved andadd
has a genericproc
signature, insteadproc (a, b: int) -> int
of the procedure getting resolved.But when typing the paramenters, the correct signature apprears.
This affects also
make
, where we don't get to see the inlay hints for default arguments, as we can withnew
.The text was updated successfully, but these errors were encountered: