[ ] Question. This issue tracker is not the place for questions. If you want to ask how to do
something, or to understand why something isn't working the way you expect it to, use Stack
Overflow. https://stackoverflow.com/questions/tagged/MultiType
[x] Bug report. If you’ve found a bug, spend the time to write a failing test. Please provide
your device name, device OS version, and describe the reproduction steps.
[ ] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.
What kind of issue is this?
[ ] Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/MultiType
[x] Bug report. If you’ve found a bug, spend the time to write a failing test. Please provide your device name, device OS version, and describe the reproduction steps.
[ ] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution already exists! Don’t send pull requests to implement new features without first getting our support. Sometimes we leave features out on purpose to keep the project small.
Info:
Description:
"title" + 1 + 2
这样的表达式会被转化为"title".plus(1).plus(2)
,而不是预期的"title"+(1+2)
,因此实际结果与预期结果不一致。My thoughts:
"title" + 1 +2
在 Java 中也会被 StringBuilder 转化为"title".append(1).append(2)
,因此3.5 之前的版本的 sample 中也会存在这个问题。