Add public max_incl_workbuf_len constants

This commit is contained in:
Nigel Tao committed 2019-02-02 15:51:04 +11:00
1 parent c9830ceb9a
commit be2d96bb27
8 files changed
+35 -2

No files matched your search

+3 -1
View File
@@ -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