lean4-htt/tests
Leonardo de Moura 049273afee fix: add workarounds to code generator
The issue is only going to be properly fixed when we rewrite `csimp`
in Lean. The `csimp` performs transformations that do not preserve
typability, but it also uses the kernel `infer_type` which assumes the
input is type correct. In the new `csimp`, we must have a different
`infer_type` which returns an `Any` type in this kind of situation.

The workaround in this commit simply disables optimizations when
`infer_type` fails. It does not fix all occurrences of this problem,
but the two places that issue #1030 triggered.

closes #1030
2022-02-25 08:47:56 -08:00
..
bench chore: remove leanpkg 2022-02-04 19:03:40 +01:00
compiler chore: fix tests 2022-01-15 12:18:09 -08:00
elabissues
ir
lean fix: add workarounds to code generator 2022-02-25 08:47:56 -08:00
pkg test: reimplement package tests using Lake 2022-02-09 12:21:11 -08:00
playground
plugin
simpperf
.gitignore
common.sh