rokucommunity / rokucommunity/brighterscript
child class constructor must call super() if parent has constructor
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 208
- Forks
- 68
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 39
Description
if a parent class has a constructor function, and a child class has a constructor function, then the child class must call super() as the first statement in its constructor function
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are identified in the issue, so start by locating the compiler or validation logic for class constructors and existing diagnostics for inheritance. Done means a child constructor with a parent constructor is required to call super() as its first statement, with coverage for the stated case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100