Index: pkg/fasta/lib/src/analyzer/mock_element.dart |
diff --git a/pkg/fasta/lib/src/analyzer/mock_element.dart b/pkg/fasta/lib/src/analyzer/mock_element.dart |
index 2c4b227fd580ca795ed826be8cdb8fe63e8496e5..a55197bff6615dd26ea82cad57a9d4caf8ced2ce 100644 |
--- a/pkg/fasta/lib/src/analyzer/mock_element.dart |
+++ b/pkg/fasta/lib/src/analyzer/mock_element.dart |
@@ -56,7 +56,7 @@ abstract class MockElement implements Element { |
int get nameLength => internalError("not supported."); |
- int get nameOffset => internalError("not supported."); |
+ int get nameOffset => -1; |
get unit => internalError("not supported."); |