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

Unified Diff: pkg/analysis_server/lib/src/protocol.dart

Issue 559353003: Semantic highlighting for LABEL elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
Index: pkg/analysis_server/lib/src/protocol.dart
diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart
index fbb33a17f190c99febba036ef1e83eaac69ae818..fc2d35a2beda9e48f77d638da68c1dd996e8d356 100644
--- a/pkg/analysis_server/lib/src/protocol.dart
+++ b/pkg/analysis_server/lib/src/protocol.dart
@@ -219,6 +219,9 @@ ElementKind _elementKindFromEngine(engine.ElementKind kind) {
if (kind == engine.ElementKind.GETTER) {
return ElementKind.GETTER;
}
+ if (kind == engine.ElementKind.LABEL) {
+ return ElementKind.LABEL;
+ }
if (kind == engine.ElementKind.LIBRARY) {
return ElementKind.LIBRARY;
}

Powered by Google App Engine
This is Rietveld 408576698