Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Part of files not handled #5

@jonaskello

Description

@jonaskello

Say I have a file my_lib.dart that specifies two other files using the part directive, part_a.dart and part_b.dart. I can successfully generate part_a_serialization_rules.dart and part_b_serialization_rules.dart using the transformer. However when I try to import these generated files they throw an exception. If I import part_a_serialization_rules.dart it will in turn import part_a.dart which has a "part of my_lib" as a first line which will not work because you cannot import a part by itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions