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
Many languages sometimes allow special characters in method names. For example, Ruby uses:
the ? suffix for "predicate methods"
the ! suffix for "dangerous methods"
These are not well supported, and in particular cannot be combined with static and abstract method classifiers.
To Reproduce
Define a method using special characters, such as ? or !.
Expected behavior
The method name should render like any other, with the correct formatting.
It is acceptable for it to be required to surround the method name with backticks, similarly to how :: support (Ruby's namespacing/nesting syntax) was added for class names by wrapping them in backticks.
Describe the bug
Many languages sometimes allow special characters in method names. For example, Ruby uses:
?
suffix for "predicate methods"!
suffix for "dangerous methods"These are not well supported, and in particular cannot be combined with static and abstract method classifiers.
To Reproduce
Define a method using special characters, such as
?
or!
.Expected behavior
The method name should render like any other, with the correct formatting.
It is acceptable for it to be required to surround the method name with backticks, similarly to how
::
support (Ruby's namespacing/nesting syntax) was added for class names by wrapping them in backticks.Code Sample
Desktop (please complete the following information):
Similar to #1635
The text was updated successfully, but these errors were encountered: