Skip to content

Commit 9856a4f

Browse files
committed
Releasenote
1 parent bf6df25 commit 9856a4f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

RELEASENOTES-1.4.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,3 +408,18 @@
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.

0 commit comments

Comments
 (0)