Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated name usage warning lint #9

Open
softmarshmallow opened this issue Jun 5, 2021 · 0 comments
Open

Duplicated name usage warning lint #9

softmarshmallow opened this issue Jun 5, 2021 · 0 comments

Comments

@softmarshmallow
Copy link
Member

image

On a large scale of code generation, when the layer name is conflicted we will automatically prevent duplicated name usage to avoid above error. thus, this process is not recommended, it also can be prevented by function, file splitting, but we need to provide user of this behavior's context and prevent on a user action level.

class DuplicatedNameUsageWarning {...}
class DuplicatedLayerNameUsageWarning extends DuplicatedNameUsageWarning {...}
class DuplicatedTextNameUsageWarning extends DuplicatedLayerNameUsageWarning {...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant