Skip to content

In TastyReflect, PackageDef#members never works #9503

Open
@abgruszecki

Description

@abgruszecki

All package symbols when loaded from Tasty-Reflect seem to have JavaDefined flag set. This means that we cannot list any member of any package, due to implemenetaion of .member.

Even if we could, package members seem to contain weirdly unexpected symbols. All classes seem to have a companion module and a companion module's class, even if source does not contain them. One could think that such symbols would have empty pos. However, it seems that many symbols which are defined in source have empty pos as well.

See:
master...dotty-staging:wip/tasty-inspector/unexpected-symbols
5d22e0b#diff-1eb59a7a3c5edcc15bf100f186f1a220R100-R115
5d22e0b#diff-1eb59a7a3c5edcc15bf100f186f1a220R154-R162

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions