Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/monosoul/inellij-jooq-type-inference-issue-reproducer

A reproducer for type inference issue in IntelliJ
https://github.com/monosoul/inellij-jooq-type-inference-issue-reproducer

Last synced: about 2 months ago
JSON representation

A reproducer for type inference issue in IntelliJ

Awesome Lists containing this project

README

        

# A reproducer for type inference issue in IntelliJ

IntelliJ IDEA is unable to infer `Publisher` type from most (if not all) [jOOQ](https://www.jooq.org/) types that
implement `Publisher` type deep in the class hierarchy.

Pre-requisites:
- JVM 17 to run the build
- Docker to run `generateJooqClasses` task

Steps to reproduce:
- open the project with intellij
- build it

Expected result:
- build succeeds
- IntelliJ doesn't show any errors for the code

Actual result:
- build succeeds
- IntelliJ highlights `asFlow` usages as errors

![Screenshot.png](Screenshot.png)