Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Subclasses implementing a final field with a getter confuses ddc #14

Closed
jacob314 opened this issue Dec 23, 2014 · 2 comments
Closed

Subclasses implementing a final field with a getter confuses ddc #14

jacob314 opened this issue Dec 23, 2014 · 2 comments

Comments

@jacob314
Copy link
Contributor

Repro

abstract class Injector {
  final Injector parent = null;
...
}

class MyInjector extends Injector {
  /* severe: InvalidFieldOverride */ Injector get parent => null;
}
@sigmundch
Copy link
Contributor

yeah, I believe we should get rid of all "InvalidFieldOverride", those come from the old type system, before we knew that we would just use JS getters to implement Dart getters. We should no longer need this check.

I'll go ahead and remove it.

@sigmundch sigmundch self-assigned this Dec 24, 2014
@sigmundch
Copy link
Contributor

fixed in a07cad7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants