You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using this polyfill with ember-concurrency, it produces the error below, but if I run the same code with Ember v3.6.0-beta.4, it does not error out.
Class constructor ComputedProperty cannot be invoked without 'new'
My understanding is that we should avoid calling new on ember objects, which ember-concurrency does, so the error from the polyfill seem to be right, but I don't get why running in Ember wound not cause the error.
Here is the reproduction: https://github.com/josemarluedke/--native-class-concurrency
When using this polyfill with ember-concurrency, it produces the error below, but if I run the same code with Ember
v3.6.0-beta.4
, it does not error out.Class constructor ComputedProperty cannot be invoked without 'new'
My understanding is that we should avoid calling new on ember objects, which ember-concurrency does, so the error from the polyfill seem to be right, but I don't get why running in Ember wound not cause the error.
https://github.com/machty/ember-concurrency/blob/master/addon/index.js#L54
The text was updated successfully, but these errors were encountered: