Skip to content

Imported components that have new or component cause errors in codegen #453

@jsoverson

Description

@jsoverson

Describe the bug
If you import a component that has an op named new or component, it will cause an error in the codegen due to conflicting method names.

To Reproduce

Import common/object which has an operation named new.

Expected behavior
Everything works great

Actual behavior
The component fails to build because of conflicting method names.

Environment:

  • OS: any
  • Architecture: any
  • Build Version: HEAD

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageTo be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions