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
Given a link to a protected member I would expect it to "just" work.
But if the "Member Visibility" has not been set with "protected" enabled.
The link will not work.
Note that by default protected members are hidden so links to protected/private members will
simply not work...
Bleh :/ this is going to be annoying to fix. The best fix is probably to take you where it should be, and show you a prompt that indicates it's hidden because of settings, ideally with something to click to make it show up...
Search terms
Expected Behavior && Actual Behavior
Given a link to a protected member I would expect it to "just" work.
But if the "Member Visibility" has not been set with "protected" enabled.
The link will not work.
Note that by default protected members are hidden so links to protected/private members will
simply not work...
Steps to reproduce the bug
Open: https://chevrotain.io/documentation/10_4_0/classes/CstParser.html#canTokenTypeBeInsertedInRecovery
Note that the link will open the "root" of the class and not the specific
canTokenTypeBeInsertedInRecovery
method.Open the settings menu in the top right corner.
enable "Member Visibility" of protected members.
close the browser tab
Open the same link again: https://chevrotain.io/documentation/10_4_0/classes/CstParser.html#canTokenTypeBeInsertedInRecovery
Now the link works as expected.
You can also reproduce this using the super simple repo which includes my settings and config.
Environment
The text was updated successfully, but these errors were encountered: