1e0611cfac
local_declaration_visitor.dart was updated to better implement ConstructorDeclarations This adds the API of _recordCompletionElement() and _elementAlreadyInCompletionSet() to local_reference_contributor.dart, if this API looks good and lands, I will use it in the rest of the contributor to fix other known shadowing bugs. local_constructor_contributor_test.dart was removed (a large copied & pasted body of tests not providing value) and tests were added at the beginning of local_reference_contributor_test.dart. Tests in this file were also updated accordingly. The change of the testCommentSnippets025 test in completion_test.dart is due to the framework not supporting (in a more robust way) the allowance of both a class and an implicit constructor The addition of the testCommentSnippets045 test in completion_test.dart is to show that constructor invocations don't need the new keyword. Change-Id: Ic4a52e3cb94320a92f24b1c743dd61e18c6c7b16 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150165 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Jaime Wren <jwren@google.com>