eclipse-vertx / vertx-codegen

Vert.x code generator for asynchronous polyglot APIs
Apache License 2.0
106 stars 92 forks source link

Problem with parameterized Interfaces #284

Open codepitbull opened 4 years ago

codepitbull commented 4 years ago

Seems like there is a problem with parameterized Interfaces. io.vertx.core.Promise, which is an interface, will yield the following results when going through codegen:

((ClassTypeInfo) type).getParams().size() => 1 ((ClassTypeInfo) type).isParameterized() => false

Clearly, isParameterized should yield true.

I am still investigating to find out what's going on.

vietj commented 4 years ago

Looks like a bug

On 4 Nov 2019, at 13:50, Jochen Mader notifications@github.com wrote:

Seems like there is a problem with parameterized Interfaces. io.vertx.core.Promise, which is an interface, will yield the following results when going through codegen:

((ClassTypeInfo) type).getParams().size() => 1 ((ClassTypeInfo) type).isParameterized() => false

Clearly, isParameterized should yield true.

I am still investigating to find out what's going on.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vert-x3/vertx-codegen/issues/284?email_source=notifications&email_token=AABXDCQ4MCZL7LMJ5BZFNCDQSALADA5CNFSM4JITCCD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HWSZBCQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXDCWWGSBCV3RVKMDBSS3QSALADANCNFSM4JITCCDQ.

vietj commented 4 years ago

any more info about this @codepitbull ?