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

TarsInputStream bug ,bool 类型默认值无效? #213

Open
beyondhc opened this issue Oct 18, 2023 · 2 comments
Open

TarsInputStream bug ,bool 类型默认值无效? #213

beyondhc opened this issue Oct 18, 2023 · 2 comments

Comments

@beyondhc
Copy link

beyondhc commented Oct 18, 2023

image

@TimmyYu 1.7.2 版本 TarsInputStream 这个read方法第一个参数b没有用到,我理解这个b应该就是协议定义了默认值defaultValue,如果协议定义了默认值应该就使用协议默认值,而不是写死的默认值

@TimmyYu
Copy link
Contributor

TimmyYu commented Oct 20, 2023

是的。这里应该返回的是默认值 。

@TimmyYu
Copy link
Contributor

TimmyYu commented Oct 20, 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

No branches or pull requests

2 participants