crayon icon indicating copy to clipboard operation
crayon copied to clipboard

Arguments need more compile-time verification enforcement

Open blakeohare opened this issue 3 years ago • 0 comments

Constructors: using 'this' keyword in base constructor args or in constructor default values should cause an error constructor(arg = this.field1) { } <-- Bad! constructor() : base(this.field2) { } <-- Also Bad!

All function types: Must verify that optional arguments come at the end of the argument list.

blakeohare avatar Nov 30 '21 08:11 blakeohare