Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor ClassDeclaration because not all classes have parameter lists
* Add ClassDeclaration.defaultConstructor, refined to be non-optional on ClassWithInitialiserDeclaration. * Make parameterDeclarations optional on ClassDeclaration, refined to be non-optional on ClassWithInitialiserDeclaration. * Fix doc on getParameterDeclaration() to clarify it will always return null on classes with neither parameter list nor default constructor. * Add a test for these things * Fix a couple of broken tests Part of #750
- Loading branch information
1 parent
a9810a6
commit 5f2580b
Showing
11 changed files
with
599 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.