Skip to content

Missing setter implementation in html_dart2js. #16105

@johnniwinther

Description

@johnniwinther

Many classes in html_dart2js do not implement the setter method implicitly defined by a field in implemented interface. For instance:

sdk/lib/html/dart2js/html_dart2js.dart:91:1: Warning: 'HtmlElement' doesn't implement the setter 'nextElementSibling' declared in 'ChildNode'.
Try adding an implementation of 'nextElementSibling' or declaring 'HtmlElement' to be 'abstract'.
class HtmlElement extends Element native "HTMLElement" {
^^^^^
sdk/lib/html/dart2js/html_dart2js.dart:2122:11: Info: The setter 'nextElementSibling' is implicitly declared by this field in class 'ChildNode'.
  Element nextElementSibling;
          ^^^^^^^^^^^^^^^^^^

See the attached file for all warnings.


Attachment:
temp.log (466.79 KB)

Metadata

Metadata

Assignees

Labels

web-librariesIssues impacting dart:html, etc., libraries

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions