-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented partial parameter definitions
Until now the parameters either included all the data table header elements or none. Their order wasn't enforced, but was replaced with a method call, based on the header, causing parameter values to be mixed up. This is changed now to variable number parameter definition, where only the order is enforced: * first you can define the type of any variable from the data table, followed by arbitrary number of extra parameters (called with `null`, no default values supported yet) ** the data table header order is compile-time checked ** the extra parameters can serve as type-safety declarations outside the method body ** provided default parameter values are compile-time rejected (not supported yet) ** primitives are auto-wrapped to nullable types (they need default values)
- Loading branch information
Pap Lőrinc
committed
Sep 13, 2015
1 parent
689cf19
commit 800f74f
Showing
6 changed files
with
175 additions
and
130 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.