mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
Fix a hint in analysis server
Change-Id: I2e6e56b144617d2f061fb1f2d22eb386d395d6c5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107941 Auto-Submit: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
parent
c3c43689d5
commit
99ed4871b3
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ class MoveFileRefactoringImpl extends RefactoringImpl
|
|||
.where(
|
||||
(po) => po.uri != null && _isRelativeUri(po.uri.stringValue));
|
||||
if (partOfs.isNotEmpty) {
|
||||
await changeBuilder.addFileEdit(result.unit.element.source.fullName,
|
||||
(builder) {
|
||||
await changeBuilder.addFileEdit(
|
||||
result.unit.declaredElement.source.fullName, (builder) {
|
||||
partOfs.forEach((po) {
|
||||
final oldDir = pathContext.dirname(oldFile);
|
||||
final newDir = pathContext.dirname(newFile);
|
||||
|
|
Loading…
Reference in a new issue