-
Notifications
You must be signed in to change notification settings - Fork 53
Abstract class error #26
Comments
I'm not sure if it's the same error: With the previous version of dart worked. |
Yup, just ran into the same issue. Seems as if the external factory constructors for some classes are missing. |
Is there any update on this? |
I have the same problem. |
Pull requests are welcome. I built this sample out as example of Dart-JS
interop. I don't have the bandwidth to maintain it actively.
…On Sat, Oct 6, 2018 at 2:38 AM Денис ***@***.***> wrote:
I have the same problem.
When I try to inherit an abstract class, I get the error: *Uncaught
TypeError: Class extends value undefined is not a constructor or null*
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABCisFYGMYBZnGTwlBGnf41a9PMuWLgks5uiHodgaJpZM4Vy-GI>
.
|
Thank you! I have already added the factories I need |
|
I was using chartjs successfully in my AngularDart project up until this morning when I started upgrading to the 2.0.0 official public release (I was using the 2.0.65 dev release).
The compiler now complains about code like this
ChartXAxe xAxe = new ChartXAxe();
with an error of:
error: Abstract classes can't be created with a 'new' expression.
Am I using the library wrong when I try to instantiate things like ChartXAxe when building up my chart in the component .dart class?
The text was updated successfully, but these errors were encountered: