Replies: 2 comments 1 reply
-
No problem to add the flag whether the CV is a method. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Would this allow to croak if a method is called as sub and vice versa?
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given #2, it seems likely that a
method
will continue to be a CV much like asub
is. It would be useful for it to have a flag to indicate that it is a full method, as opposed to a simple unattachedsub
.A good name for this would be
CVf_METHOD
, with associated macrosCvMETHOD
,CvMETHOD_on
andCvMETHOD_off
. However, there already exists a flag of that name, which is associated with the:method
attribute and quiets certain parse-time warnings about ambiguous names.Beta Was this translation helpful? Give feedback.
All reactions