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
The default parameter parsed through CppAST, which is the InitExpression field of CppParameter, will show up as ={}, instead of {}.
I do not see a test of this behavior. Is this expected or by design?
The text was updated successfully, but these errors were encountered:
I do not see a test of this behavior. Is this expected or by design?
Not expected. PR welcome to fix it. 🙂
yjiao-cgnx
changed the title
List initialization as function default parameter wiill have an extra equals sign ("=").
List initialization as function default parameter will have an extra equals sign ("=").
Nov 22, 2023
Pretty self-explanatory. If I have a function like this:
The default parameter parsed through CppAST, which is the
InitExpression
field ofCppParameter
, will show up as={}
, instead of{}
.I do not see a test of this behavior. Is this expected or by design?
The text was updated successfully, but these errors were encountered: