Closed johnynek closed 7 months ago
The Build example in BuildLibrary.bosatsu is being inferred as invariant, but I think that should be covariant. If you annotate it as covariant it fails with a bad error.
This was confusion on my part. The Build example has a Leibniz[a, File] which is definitely invariant in a which makes Build invariant in a.
Leibniz[a, File]
a
Build
The Build example in BuildLibrary.bosatsu is being inferred as invariant, but I think that should be covariant. If you annotate it as covariant it fails with a bad error.