| Index: pkg/analysis_server/lib/src/services/completion/dart/uri_contributor.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/dart/uri_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/uri_contributor.dart
|
| index 802beae8e8ee756bde1f5e9df20cd8e1a9c9fa4f..b2b624df2ae4e1064e51b0ddcc5c039fefd38081 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/dart/uri_contributor.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/dart/uri_contributor.dart
|
| @@ -66,7 +66,7 @@ class _UriSuggestionBuilder extends SimpleAstVisitor {
|
| // Quoted empty string
|
| visitSimpleStringLiteral(uri);
|
| } else {
|
| - String data = request.source.contents.data;
|
| + String data = request.sourceContents;
|
| if (end == data.length) {
|
| String ch = data[end - 1];
|
| if (ch != '"' && ch != "'") {
|
| @@ -78,7 +78,7 @@ class _UriSuggestionBuilder extends SimpleAstVisitor {
|
| }
|
| }
|
| } else if (offset == start && offset == end) {
|
| - String data = request.source.contents.data;
|
| + String data = request.sourceContents;
|
| if (end == data.length) {
|
| String ch = data[end - 1];
|
| if (ch == '"' || ch == "'") {
|
|
|