Skip to content

Annotated import/export/part directives cause crash in DeclarationResolver #29188

Closed
@scheglov

Description

@scheglov

I'm adding a failing new test to AnalysisDriver test_getResult_invalidUri_metadata.

This show the problems that you and Paul discussed a couple of weeks ago - what to do for invalid URIs - create or not corresponding elements. If there is no element, there is nothing to associate annotations with.

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failureslegacy-area-analyzerUse area-devexp instead.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions