Skip to content

dart2js: please implement "super" property read/store #3191

Closed
@DartBot

Description

@DartBot

This issue was originally filed by @bp74


What steps will reproduce the problem?

class foo {
  int _x = 1;
  num get x() => _x;
}

class bar extends foo {
  num get x() => super.x * 2;
}

void main() {
  bar b = new bar();
  print(b.x);
}

What is the expected output? What do you see instead?

dart2js has an error saying: "internal error: super property read not implemented"
same thing with setter: "internal error: super property store not implemented"

What version of the product are you using? On what operating system?

Dart Editor 7916 32 bit, WIndows 7 64 bit

Metadata

Metadata

Labels

P1A high priority bug; for example, a single project is unusable or has many test failuresweb-dart2js

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions