Drew Hamilton
05/06/2025, 2:57 PMprocessAllDeclaredCallables
inside of generateFunctions
I get a recursive loop that ends in a StackOverflowError. Is it intended that I should opt-in to DirectDeclarationsAccess
in this case?dmitriy.novozhilov
05/06/2025, 3:19 PMdeclaredScope
inside MemberGenerationContext
passed to generateFunctions
, you shoud use it.dmitriy.novozhilov
05/06/2025, 3:20 PMFirClassDeclaredMemberScopeImpl
(containing declarations which were declared inside the class in the sources) and FirGeneratedClassDeclaredMemberScope
(containing declarations generated by plugins). So this scope.declaredScope
is the reference to the "real declared scope" with functions only from sourcesDrew Hamilton
05/06/2025, 3:45 PMDrew Hamilton
05/06/2025, 3:46 PM