Skip to content

checker: fix missing re-check of recursive generic function #17592

Merged
spytheman merged 1 commit intovlang:masterfrom
felipensp:fix_generic_call
Mar 11, 2023
Merged

checker: fix missing re-check of recursive generic function #17592
spytheman merged 1 commit intovlang:masterfrom
felipensp:fix_generic_call

Conversation

@felipensp
Copy link
Copy Markdown
Member

Fix #16962

@felipensp felipensp changed the title checker: fix wrong resolution checking of recursive generic function checker: fix missing re-check of recursive generic function Mar 10, 2023
@felipensp felipensp marked this pull request as ready for review March 10, 2023 23:42
Copy link
Copy Markdown
Contributor

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work.

a T
}

fn test_main() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please name the test functions with more specific names - from just test_main, it is not clear what does this test. The name of the test file is also not very helpful.

In several months, it would be hard for someone to understand why was this added (if suddenly it starts failing), by just looking at local information, without looking back to the PR/commit itself.

@spytheman spytheman merged commit a983760 into vlang:master Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error using optional field with generic struct

2 participants