Skip to content
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

fix: empty struct generate wrong struct #1169

Merged
merged 1 commit into from Nov 14, 2023

Conversation

Lvnszn
Copy link
Contributor

@Lvnszn Lvnszn commented Nov 14, 2023

What type of PR is this?

当结构体是空的时候,会生成一些没有被使用初始化参数, 所以增加长度判断

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@Lvnszn Lvnszn requested review from a team as code owners November 14, 2023 02:41
@felix021 felix021 merged commit 4c0fa51 into cloudwego:develop Nov 14, 2023
16 of 17 checks passed
@Lvnszn Lvnszn deleted the fix_empty_struct branch November 14, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants