[code-reflection] RFR: Change the model of the default label of switch [v2]
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri Sep 6 16:39:28 UTC 2024
On Fri, 6 Sep 2024 15:06:32 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:
>> `typeElementToType(javaType.STRING)` returns `none`
>
> I need to update `primitiveAndBoxTypeMap`
Uhm - I see. `typeElementToType` only works for simple types - but in this case I believe the case body can return any type - e.g. with patterns you can switch on any reference type.
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/223#discussion_r1747417270
More information about the babylon-dev
mailing list