#3884·graphify

Kotlin:带有注解且没有显式类型的类属性会导致整个文件丢失(UnboundLocalError: 'line' unbound)

作者: SpaMer93创建于 2026年9月27日更新于 2026年9月28日

`engine.py`, in the `property_declaration` branch for `tree_sitter_kotlin` (~line 4853): `line` is assigned only inside `if type_node is not None:`, but it is then used unconditionally by the annotation loop further down:

内容来源: Graphify-Labs/graphify