doc: document issue

cc @dselsam
This commit is contained in:
Leonardo de Moura 2020-02-18 10:52:12 -08:00
parent 94e45f7b81
commit 7d7cd1a7c9

View file

@ -17,3 +17,7 @@ def foo : Nat → Unit
-- error: equation compiler failed to create auxiliary declaration 'foo._main'
-- nested exception message:
-- invalid declaration, a declaration named 'foo._main' has already been declared
/-
[Leo]: Rob Lewis reported the issue for Lean3 a few years ago. I told him I would not fix it since I think it is obvious to understand the problem. We will write a new equation compiler. We will fix it if it only if it doesn't increase the complexity.
-/