Skip to content

error with aliased imports #6

@supagu

Description

@supagu

I"m doing the following to avoid name collisions but this breaks the autobind generator:

import 'package:flame/components.dart' as c;

class SpriteAnimationComponent extends c.SpriteAnimationComponent with HasName {
}

Odly enough it works if I do something like this:

class SpriteAnimComp extends c.SpriteAnimationComponent with HasName {}

Its just if I am trying to use the same class name it doesn't like that. This means I can at least work around the problem for now

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