Add syntax support for implementing interfaces

This commit is contained in:
Nigel Tao committed 2020-01-09 15:45:29 +11:00
1 parent 8f5983f151
commit ea54c2ea11
10 files changed
+249 -97

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
// TODO: drop the '?' but still generate wuffs_adler32__hasher__initialize?
pub struct hasher?(
pub struct hasher? implements base.hasher_u32(
state : base.u32,
started : base.bool,
)
+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
// TODO: drop the '?' but still generate wuffs_crc32__ieee_hasher__initialize?
pub struct ieee_hasher?(
pub struct ieee_hasher? implements base.hasher_u32(
state : base.u32,
)