Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessors must support @override #50

Closed
3 tasks done
mlhaufe opened this issue May 6, 2020 · 0 comments
Closed
3 tasks done

Accessors must support @override #50

mlhaufe opened this issue May 6, 2020 · 0 comments
Assignees
Labels
feature/override The override decorator requirement An assertion or property that must be fulfilled
Milestone

Comments

@mlhaufe
Copy link
Contributor

mlhaufe commented May 6, 2020

@invariant
class Foo {
  private _value_: number = 0
  get value(){ return this._value }
  set value(x: number){ this._value_ = x }
} 

class Bar extends Foo {
  @override
  set value(x: number){
     console.log('set value')
    super.value = x
  }
}

Tasks

  • Create Unit Test
  • Implementation
  • Update README
@mlhaufe mlhaufe added requirement An assertion or property that must be fulfilled azure migrated feature/override The override decorator labels May 6, 2020
@mlhaufe mlhaufe added this to the v0.7.0 milestone May 6, 2020
@mlhaufe mlhaufe self-assigned this May 6, 2020
@mlhaufe mlhaufe closed this as completed May 6, 2020
@mlhaufe mlhaufe mentioned this issue May 6, 2020
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/override The override decorator requirement An assertion or property that must be fulfilled
Projects
None yet
Development

No branches or pull requests

1 participant