google / streamy-dart

Apache License 2.0
60 stars 23 forks source link

Dart2JS complains about base entities not being abstract when clone and other options are turned on #276

Open skoga opened 9 years ago

skoga commented 9 years ago

If you turn on cloning, patching, etc. in the yaml file Dart2JS complains that 'Entity' and 'HttpRequestBase' doesn't implement clone(), patch(), and other things.

Ex:

packages/streamy/base.dart:419:1: 'Entity' doesn't implement 'abstract dynamic patch()' declared in 'Patch'. Try adding an implementation of 'patch' or declaring 'Entity' to be 'abstract'. class Entity extends HasApiType {} ^

'Entity' doesn't implement 'abstract dynamic clone()' declared in 'CopyClone'. Try adding an implementation of 'clone' or declaring 'Entity' to be 'abstract'. class Entity extends HasApiType {} ^^^^^