Zulip Chat Archive
Stream: mathlib4
Topic: linter commandStart does not like @[to_app (attr := reassoc)
Joël Riou (Oct 12 2025 at 13:43):
In #25971, it was found that the commandStart linter does not like the syntax @[to_app (attr := reassoc) (it suggests @[to_app (attr:=reassoc)), while @[reassoc (attr := simp)] is used throughout the category theory files.
Aaron Liu (Oct 12 2025 at 13:45):
sounds like we need some whitespace in docs#CategoryTheory.to_app
Calle Sönne (Oct 12 2025 at 13:50):
I can fix this, or are you already doing it @Aaron Liu ?
Joël Riou (Oct 12 2025 at 13:50):
Thansk! I am trying to do it right now.
Aaron Liu (Oct 12 2025 at 13:51):
just change the ":=" to " := " it's not that hard
Joël Riou (Oct 12 2025 at 14:20):
Yes, it was not too hard: https://github.com/leanprover-community/mathlib4/pull/25971/commits/8771d68b8adbe83f330142d1b9b977c83d02a8f1
Thanks!
Last updated: Dec 20 2025 at 21:32 UTC