You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Infer @private for #-prefixed private methods #1590
I was going to suggest using the --infer-private option with --infer-private "^#" but for whatever reason that doesn't work. In the output it appears the # character is stripped from function names some time before the "infer access" step. I tried again with --infer-private "^_" as exampled in the source code which did work as expected.
Activity
tannerstern commentedon May 21, 2024
I was going to suggest using the
--infer-privateoption with--infer-private "^#"but for whatever reason that doesn't work. In the output it appears the#character is stripped from function names some time before the "infer access" step. I tried again with--infer-private "^_"as exampled in the source code which did work as expected.