[analyzer] Fixes SearchEngine for dot shorthand constructor references
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
files.addAll(await _driver.getFilesReferencingName(shortHandName));I'm not sure this is fine as I implemented or if I should make this an optional parameter or something.
WDYT @paul...@google.com?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
String? shortHandName;A nit, but I think we're using "shorthand" as one word, not camelcase, "shortHand"
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
A nit, but I think we're using "shorthand" as one word, not camelcase, "shortHand"
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
Fixed the implementation for the broken tests. The problem was that we had an example where both the class name _and_ the constructor name were referenced, so the file was verified twice.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
files.addAll(await _driver.getFilesReferencingName(shortHandName));I'm not sure this is fine as I implemented or if I should make this an optional parameter or something.
WDYT @paul...@google.com?
I've decided on an optional parameter since then this doesn't need to revisit all files again a second time.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
Small note, I did some testing and this also fixes the main issue raised at https://github.com/dart-lang/sdk/issues/55348 (there is still a problem but I'll note it there and create a different CL for it). I've added a test-case for it and mentioned at the CL description.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Given that Paul didn't answer here, I'm replacing him with @sche...@google.com since this is very similar to https://dart-review.googlesource.com/c/sdk/+/472360 which just landed.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |