Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: pkg/analyzer/lib/src/summary/format.dart

Issue 1738213003: Use separate relation kinds for qualified usages. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/format.fbs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/format.dart
diff --git a/pkg/analyzer/lib/src/summary/format.dart b/pkg/analyzer/lib/src/summary/format.dart
index a337fc4130abca1cfae507a12dc66dbc8017c2d3..946a6eb2776ba055903561b73686aa88e9b96fc9 100644
--- a/pkg/analyzer/lib/src/summary/format.dart
+++ b/pkg/analyzer/lib/src/summary/format.dart
@@ -11,29 +11,29 @@ import 'flat_buffers.dart' as fb;
import 'idl.dart' as idl;
import 'dart:convert' as convert;
-class _IndexSyntheticElementKindReader extends fb.Reader<idl.IndexSyntheticElementKind> {
- const _IndexSyntheticElementKindReader() : super();
+class _IndexRelationKindReader extends fb.Reader<idl.IndexRelationKind> {
+ const _IndexRelationKindReader() : super();
@override
int get size => 1;
@override
- idl.IndexSyntheticElementKind read(fb.BufferPointer bp) {
+ idl.IndexRelationKind read(fb.BufferPointer bp) {
int index = const fb.Uint8Reader().read(bp);
- return idl.IndexSyntheticElementKind.values[index];
+ return idl.IndexRelationKind.values[index];
}
}
-class _IndexRelationKindReader extends fb.Reader<idl.IndexRelationKind> {
- const _IndexRelationKindReader() : super();
+class _IndexSyntheticElementKindReader extends fb.Reader<idl.IndexSyntheticElementKind> {
+ const _IndexSyntheticElementKindReader() : super();
@override
int get size => 1;
@override
- idl.IndexRelationKind read(fb.BufferPointer bp) {
+ idl.IndexSyntheticElementKind read(fb.BufferPointer bp) {
int index = const fb.Uint8Reader().read(bp);
- return idl.IndexRelationKind.values[index];
+ return idl.IndexSyntheticElementKind.values[index];
}
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/format.fbs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698