Zulip Chat Archive

Stream: general

Topic: library_search in 3.16.5


Dan Stanescu (Jul 04 2020 at 01:37):

I just did leanproject up to 3.16.5 and neither library_search nor suggest work any more. Maybe I missed an announcement, is this supposed to happen?

Alex J. Best (Jul 04 2020 at 01:38):

I think some imports were moved around, try adding import tactic.basic to the top of your files.

Dan Stanescu (Jul 04 2020 at 01:39):

Thank you, that was it!

Alex J. Best (Jul 04 2020 at 01:39):

Previously a lot of files imported tactics by default, so you often got tactics for free by importing any random file without explicitly importing them yourself, now there was a bit of cleanup.

Dan Stanescu (Jul 04 2020 at 01:40):

I had import tactic but that was not enough.

Bryan Gin-ge Chen (Jul 04 2020 at 01:48):

That's very strange. import tactic should import strictly more than import tactic.basic.

Dan Stanescu (Jul 04 2020 at 01:51):

That is what I thought too, but I can totally confirm that was my experience. I tried four times, recreating the directory from scratch. I was very surprised.

Dan Stanescu (Jul 04 2020 at 01:54):

I did have the same kind of experience some time ago when trying to use tactic.explode. It didn't work when only importing tactic, but it did work when explicitly importing tactic.explode.

Dan Stanescu (Jul 04 2020 at 01:55):

But that had changed in the meantime.

Bryan Gin-ge Chen (Jul 04 2020 at 01:59):

OK, I just opened #3284 to fix this.

Bryan Gin-ge Chen (Jul 04 2020 at 02:00):

Thanks for the report!


Last updated: Dec 20 2023 at 11:08 UTC