Skip to content

Can't use {} to create an instance when the constructor of call has any arguments. #258

Closed
@LiaoPeng

Description

@LiaoPeng

The code https://webassembly.studio/?f=l4cxr3q2wva

Get errors:

ERROR AS216: Constructor of class 'Car' must not require any arguments.

Expected:
Compiled successfully.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions