[code-reflection] RFR: Make Quoted generic [v2]

Paul Sandoz psandoz at openjdk.org
Thu Jan 15 16:41:07 UTC 2026


On Thu, 15 Jan 2026 11:24:26 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Paul Sandoz has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Cleaning up remaining references to quotable.
>
> src/jdk.incubator.code/share/classes/jdk/incubator/code/dialect/core/CoreOp.java line 469:
> 
>> 467:         @Override
>> 468:         public TypeElement resultType() {
>> 469:             return QUOTED_OP_TYPE;
> 
> Should this type be parameterized by the actual op wrapped by this quoted op?

Yes, we can do so in another PR. It requires a little more work when quoting an op to determine the parameterized type as we should not always derive it directly from that op.

-------------

PR Review Comment: https://git.openjdk.org/babylon/pull/845#discussion_r2695147170


More information about the babylon-dev mailing list