Merge "Preserve type when promoting non-selects to selects" into main am: 077df5875e

Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/3097679

Change-Id: Icd9ac9eb41485689c07331c15f97d38b6e9052c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2024-05-23 19:51:43 +00:00 committed by Automerger Merge Worker
commit 73d1cbd561

View file

@ -390,6 +390,7 @@ func (p *parser) evaluateOperator(value1, value2 Expression, operator rune,
Cases: []*SelectCase{{
Value: e1,
}},
ExpressionType: e1.Type(),
}
}
}