Preserve type when promoting non-selects to selects
Bug: 323382414 Test: m nothing --no-skip-soong-tests Change-Id: I1ad7e891f5422bb3587ebac1f8bda7dd5792ae3b
This commit is contained in:
parent
ad00dd50bf
commit
86a7abd927
1 changed files with 1 additions and 0 deletions
|
@ -390,6 +390,7 @@ func (p *parser) evaluateOperator(value1, value2 Expression, operator rune,
|
|||
Cases: []*SelectCase{{
|
||||
Value: e1,
|
||||
}},
|
||||
ExpressionType: e1.Type(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue