kotlin-compile-testing icon indicating copy to clipboard operation
kotlin-compile-testing copied to clipboard

Sample code from README produces "Unresolved reference: TestEnvClass"

Open breandan opened this issue 2 years ago • 1 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!

breandan avatar Jun 30 '22 20:06 breandan

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.

tschuchortdev avatar Jul 01 '22 11:07 tschuchortdev