Zulip Chat Archive

Stream: lean4

Topic: missing docs linter doesn't trigger on macro_rules


Alok Singh (Mar 25 2025 at 01:39):

The issue is that macro_rules isn't flagged by linter.missingDocs

set_option linter.missingDocs true
-- warns about no doc comment
syntax "a" : term

-- no warning
macro_rules
  | `(a) => `(2)

Aaron Liu (Mar 25 2025 at 05:14):

Is this a problem?

Robin Arnez (Mar 28 2025 at 18:25):

I don't think there is any way to access that doc comment, so why bother?


Last updated: May 02 2025 at 03:31 UTC