Piotr Krzemiński
09/21/2025, 2:44 PMcompiler-plugin/ast/src/test/kotlin/python/ast/PythonAstTest.kt
, and (see the screenshot) the compiler reports Unresolved reference ...
, and in the IDE I can normally navigate to the classes/functions that are unresolved according to the compiler. I've been banging my head for hours, it must be something small... on the other hand, looks like a bug in the compiler or the IDE, they should behave consistently, no?Piotr Krzemiński
09/21/2025, 2:55 PMPython
to python
, and it works the same way
• I thought maybe generated
is somewhere ignored (although not added to .gitignore
), so renamed it to something neutral like astprimitives
- the same problemPiotr Krzemiński
09/21/2025, 3:02 PMPiotr Krzemiński
09/21/2025, 3:32 PM:compiler-plugin:ast:classes
succeeds and produces some sane output:Piotr Krzemiński
09/21/2025, 3:40 PMPiotr Krzemiński
09/21/2025, 6:52 PMPiotr Krzemiński
09/21/2025, 7:08 PMPiotr Krzemiński
09/21/2025, 7:15 PMPiotr Krzemiński
09/21/2025, 7:18 PMdata class Constant(val value: constant, val kind: string?)
and
data class constant(val value: String)
I think they're compiled to the same .class file (i.e. with the same name if you assume case-insensitivity)Piotr Krzemiński
09/21/2025, 7:58 PMPiotr Krzemiński
09/22/2025, 11:11 AMPiotr Krzemiński
09/24/2025, 1:04 PM