Function parameter type as a call expression #2740
Unanswered
supernova-III
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, there's an interesting issue I'm trying to solve: #2681
After some investigation, I concluded that this issue is caused by the checker code. In other situations, the same checker code prevents such kind of errors:
But in case of this issue #2681, the second parameter of the
bar
proc is a result of type that has to be inferenced from the call expression with another generic function:And it looks like the listing 1 is equivalent to the listing 2. Am I right?
Beta Was this translation helpful? Give feedback.
All reactions