Zulip Chat Archive

Stream: general

Topic: help with travis


Scott Morrison (Oct 14 2018 at 19:34):

Hmm, a strange error:

> lean --make .
> lean --make test
> lean --recursive --export=mathlib.txt
<unknown>:1:1: error: invalid object declaration, environment already has an object named 'category_theory.limits.category_theory.limits.has_limits._proof_1'

Scott Morrison (Oct 14 2018 at 19:34):

How come it doesn't complain with lean --make?

Scott Morrison (Oct 14 2018 at 19:35):

Is this that two files, which are never imported in the same place, have the same named definition? And this isn't detected until the last run of lean?

Scott Morrison (Oct 14 2018 at 19:36):

(Doesn't matter too much, there was an instance that should have been a def anyway, that should solve this.)

Simon Hudon (Oct 14 2018 at 19:53):

Is this that two files, which are never imported in the same place, have the same named definition? And this isn't detected until the last run of lean?

That's right


Last updated: Dec 20 2023 at 11:08 UTC