Skip to content

Go. Fix bug with missing or empty parameter name #2286

New issue

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

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

egiptipavel
Copy link
Collaborator

Description

Added handling of missing or empty function parameter names.

Fixes #2284

How to test

Manual tests

func foo(_, arg int) {

}

func bar(int, float64) {

}

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@egiptipavel egiptipavel added ctg-bug-fix PR is fixing a bug lang-go Issue is related to Go support labels Jun 14, 2023
@egiptipavel egiptipavel requested a review from Markoutte June 14, 2023 11:17
@egiptipavel egiptipavel self-assigned this Jun 14, 2023
@egiptipavel egiptipavel merged commit 9f7c0b2 into main Jun 21, 2023
@egiptipavel egiptipavel deleted the egiptipavel/go-bug-fix branch June 21, 2023 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-bug-fix PR is fixing a bug lang-go Issue is related to Go support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go. Incorrect generation of tests for functions with specific signature
2 participants