shrub/pkg/arvo/sys
Philip Monk 43e02c25e4
hoon: extend gol check through cores
This extends `gol` "backward-inference" typechecking to thread through cores.  Recall that `gol` is used exclusively for receiving more specific error messages; these changes should have no effect on programs which already compile successfully.

Before, this would type-fail on the second `|%`.

```
!:
^+  ^?
    |%
    ++  foo  *@ud
    --
|%
++  foo
  ?:  =(1 1)
    2
  %foo
--
```

With these changes, it gives a mint-nice at `%foo`.  It will also give you explicit errors if you have the wrong number/names of arms, including which arms it expects.

This is becoming much more important with static gall, since it's the first time we've used core subtyping so extensively and in userspace.
2019-11-08 12:53:03 -08:00
..
vane mall: properly delete on %kick 2019-11-07 18:25:19 -08:00
arvo.hoon Merge branch 'master' into philip/mall-real 2019-11-04 19:35:24 -08:00
hoon.hoon hoon: extend gol check through cores 2019-11-08 12:53:03 -08:00
zuse.hoon mall: rename agent arms 2019-11-07 00:19:58 -08:00