Skip to content

extend SomeClass.build() fails in ES6 #150

@issa-tseng

Description

@issa-tseng
TypeError: Cannot call a class constructor without |new|

where SomeClass is some ES6-generated Model.build classdef, for example.

this happens because ES6 constructors cannot be called without keyword new, but coffeescript 1.x does not know this.

hmmm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions