tschuchortdev / kotlin-compile-testing

A library for testing Kotlin and Java annotation processors, compiler plugins and code generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample code from README produces "Unresolved reference: TestEnvClass"

breandan opened this issue · comments

I tried to use your library, which looks very nice, but I am having some trouble reproducing the sample code from the README. Do you have any suggestions how it can be fixed? I am attaching the test class below, which should fail but passes. Thank you!

If I had to guess, I would add an import to the test files (import ai.hypergraph.kotlingrad.typelevel.CompileTest.TestEnvClass or something like that). In the README, an import was not necessary because the TestEnvClass was top-level without a package declaration. If that doesn't fix it I'll have to clone your project and take a closer look.