Open brezinajn opened 3 years ago
Having another issue with the same sample during compile:
@JvmInline annotation is only applicable to value classes
What I have tried:
refined-types-plugin
tests and got same errorRefined
from companion object and got successful compilationEnvironment
Describe the bug When trying to define my own refined types I'm getting an
Exception java.lang.IllegalArgumentException: object is not an instance of declaring class : PositiveInt2.Companion.invoke
using1.5.0-SNAPSHOT
To Reproduce Steps to reproduce the behavior: Minimal repro here Should not be able to run.
Expected behavior User defined refined types should work correctly
Screenshots Not applicable
Environment (please complete the following information):