[code-reflection] RFR: Test Switch Expression lowering when case is constant [v3]
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri Jul 26 15:50:49 UTC 2024
On Fri, 26 Jul 2024 15:42:28 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:
>> The core of the changes is to test switch expression when case is constant, in the process we found that we miss conversion of the constant to the the type of the selector expression, we added that. I agree that we should add tests that focus more on conversion.
>
> `caseConstantThrow` shows how we are converting constant label to the selector expression's type.
I see - I was looking for `convert` but it's true that there are some unboxing conversions in there
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/169#discussion_r1693281343
More information about the babylon-dev
mailing list