Implement isSubtypeOf() and isAssignableTo() in js_mirrors.dart #20756
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-obsolete
Closed as the reported issue is no longer relevant
library-mirrors
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
This issue was originally filed by @Scorpiion
I know that js_mirrors.dart is not complete and I'm aware of the tracking bug 6490: https://code.google.com/p/dart/issues/detail?id=6490
I have a JSON serliazation library called VaneModel that works good on the Dart VM but when compiling to JavaScript it stopped working because of these 2 missing implementations.
File js_mirrors.dart, class JsTypeMirror:
bool isSubtypeOf(TypeMirror other) => throw new UnimplementedError();
bool isAssignableTo(TypeMirror other) => throw new UnimplementedError();
I create this bug as a way to track progress on this. Would be interesting to hear if someone with knowledge of js_mirrors.dart could estimate the amount of work needed? Would it be possible to fix this in weeks or are there big blocking issues so I should expect several months? Or longer?
The text was updated successfully, but these errors were encountered: