| Index: pkg/analyzer/lib/file_system/physical_file_system.dart
|
| diff --git a/pkg/analyzer/lib/file_system/physical_file_system.dart b/pkg/analyzer/lib/file_system/physical_file_system.dart
|
| index edec1ae6dfc99f7d78c931feaf89b9a6ce1e4efa..2cd391ae8cad975c6b3434a898608744706cd5f3 100644
|
| --- a/pkg/analyzer/lib/file_system/physical_file_system.dart
|
| +++ b/pkg/analyzer/lib/file_system/physical_file_system.dart
|
| @@ -98,6 +98,16 @@ class _PhysicalFile extends _PhysicalResource implements File {
|
| bool isOrContains(String path) {
|
| return path == this.path;
|
| }
|
| +
|
| + @override
|
| + String readAsStringSync() {
|
| + try {
|
| + io.File file = _entry as io.File;
|
| + return file.readAsStringSync();
|
| + } on io.FileSystemException catch (exception) {
|
| + throw new FileSystemException(exception.path, exception.message);
|
| + }
|
| + }
|
| }
|
|
|
| /**
|
|
|