mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Add a skeleton of an adler.update method.
This commit is contained in:
1 parent
5b0d6f6f3e
commit
50369c782c
5 files changed
+38
-2
No files matched your search
@@ -429,6 +429,10 @@ func (c *Checker) checkFuncSignature(node *a.Node) error {
|
||||
}
|
||||
n.Out().Node().SetTypeChecked()
|
||||
|
||||
// TODO: check somewhere that, if n.Out() is non-empty (or we are
|
||||
// suspendible), that we end with a return statement? Or is that an
|
||||
// implicit "return out"?
|
||||
|
||||
qid := n.QID()
|
||||
if other, ok := c.funcs[qid]; ok {
|
||||
return &Error{
|
||||
|
||||
Reference in new issue
Block a user