File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 408408 overridable. See the documentation of these templates for more details.
409409- `release 7 7129`
410410- `release 6 6444`
411+ - `note 6` Added non-`shared` abstract method declarations, e.g.
412+ ```
413+ method m(uint8 a) -> (int);
414+ ```
415+ Similarly to untyped abstract parameter declarations, an abstract method
416+ declaration may be specified regardless of whether it's in the context of a
417+ template definition, and regardless of what other declarations of the same
418+ method exists (except that all declarations must share the same signature.)
419+ - `note 6` Added a provisional feature `explicit_method_decls`, which can be
420+ enabled per file by a statement `provisional explicit_method_decls;`.
421+ This feature adds a syntax `method m() :{ ... }`, which signifies that the method
422+ is *not* intended as an override. The existing syntax `method m() { ... }``
423+ is re-purposed to signify that the method *is* intended as an override,
424+ Inconsistent usage will trigger compile errors. This is useful to
425+ catch misspelled overrides.
You can’t perform that action at this time.
0 commit comments