urbit/pkg/arvo/sys
Philip Monk e43036d748
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-09 18:25:42 +08:00
..
vane Merge branch 'behn-flop-drip' (#1916) 2019-11-06 18:31:45 +08:00
arvo.hoon arvo: improves move type specialization (by spec'ing incrementally) 2019-10-16 17:30:33 -07:00
hoon.hoon hoon: extend gol check through cores 2019-11-09 18:25:42 +08:00
zuse.hoon gall: adds %goad task force agent rebuilds 2019-11-05 13:04:27 -08:00