mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Add public max_incl_workbuf_len constants
This commit is contained in:
1 parent
c9830ceb9a
commit
be2d96bb27
8 files changed
+35
-2
No files matched your search
+3
-1
@@ -220,7 +220,9 @@ func (c *Checker) checkUse(node *a.Node) error {
|
||||
|
||||
switch n.Kind() {
|
||||
case a.KConst:
|
||||
return fmt.Errorf("TODO: type-check a used-package const")
|
||||
if err := c.checkConst(n); err != nil {
|
||||
return err
|
||||
}
|
||||
case a.KFunc:
|
||||
if err := c.checkFuncSignature(n); err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user