Type check used-package structs and funcs

This commit is contained in:
Nigel Tao committed 2018-06-03 10:49:24 +10:00
1 parent 6b640bea86
commit 8dbfad9509
3 files changed
+96 -99

No files matched your search

+2 -5
View File
@@ -26,11 +26,8 @@ pub struct decoder?(
prefixes array[4096] base.u16[..4095],
)
// TODO: u32 should be u32[2..8].
pub func decoder.set_literal_width!(lw base.u32)() {
if in.lw <= 8 {
this.literal_width = in.lw
}
pub func decoder.set_literal_width!(lw base.u32[2..8])() {
this.literal_width = in.lw
}
pub func decoder.decode?(dst base.io_writer, src base.io_reader)() {