d79a626523
The type checker (and type inferer) were not handling correctly Pi expressions where the type universe cannot be established due to the occurrence of metavariables. In this case, a max-constraint is created. The problem is that the domain and body of the Pi are in different contexts. The constrain generated before this commit was incorrect, it could contain a free variable. This commit fix the issue by using the context of the body, and lifting the free variables in the domain by 1. Signed-off-by: Leonardo de Moura <leonardo@microsoft.com> |
||
---|---|---|
.. | ||
cmake | ||
extra | ||
frontends | ||
kernel | ||
library | ||
shell | ||
tests | ||
util | ||
CMakeLists.txt | ||
CTestConfig.cmake | ||
CTestCustom.cmake.in | ||
Doxyfile | ||
memcheck.supp |