-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix warning message for indexing into lists, display fully qualified classname in warnings #9861
Fix warning message for indexing into lists, display fully qualified classname in warnings #9861
Conversation
…classname in warnings
…s and dictionaries
@@ -408,7 +416,7 @@ private void GetLocationByGraphNode(ref int line, ref int col) | |||
var argsJoined = string.Join(", ", arguments.Select(GetTypeName)); | |||
|
|||
var fep = funcGroup.FunctionEndPoints[0]; | |||
var formalParamsJoined = string.Join(", ", fep.FormalParams.Select(x => x.ToShortString())); | |||
var formalParamsJoined = string.Join(", ", fep.FormalParams); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this going to use full class names when throwing function not found exceptions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is the intended fix for https://jira.autodesk.com/browse/DYN-1044.
This looks good, just one comment. |
…classname in warnings (DynamoDS#9861) * fix warning message for indexing into lists, display fully qualified classname in warnings * display fully qualified class names in type mismatch and method resolution warnings * add resource strings for null reference exceptions with lists, strings and dictionaries * add comments
…ay fully qualified … (#9865) * Fix warning message for indexing into lists, display fully qualified classname in warnings (#9861) * fix warning message for indexing into lists, display fully qualified classname in warnings * display fully qualified class names in type mismatch and method resolution warnings * add resource strings for null reference exceptions with lists, strings and dictionaries * add comments * update test cases
* fix warning message for indexing into lists, display fully qualified classname in warnings * display fully qualified class names in type mismatch and method resolution warnings * add resource strings for null reference exceptions with lists, strings and dictionaries * add comments * update test cases
…classname in warnings (#9861) * fix warning message for indexing into lists, display fully qualified classname in warnings * display fully qualified class names in type mismatch and method resolution warnings * add resource strings for null reference exceptions with lists, strings and dictionaries * add comments
* fix warning message for indexing into lists, display fully qualified classname in warnings * display fully qualified class names in type mismatch and method resolution warnings * add resource strings for null reference exceptions with lists, strings and dictionaries * add comments * update test cases
Purpose
JIRA: https://jira.autodesk.com/browse/DYN-1487, https://jira.autodesk.com/browse/DYN-1044
The warning on the node no longer mentions
Get.ValueAtIndex
and displays the appropriate error message:Declarations
Check these if you believe they are true
*.resx
filesReviewers
(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)
(FILL ME IN, optional) Any additional notes to reviewers or testers.
FYIs
(FILL ME IN, Optional) Names of anyone else you wish to be notified of