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

Unified Diff: lib/linker.dart

Issue 2103743002: Rename mixin protos and add a check for undefined mixin name (Closed) Base URL: git@github.com:dart-lang/dart-protoc-plugin.git@master
Patch Set: Created 4 years, 6 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: lib/linker.dart
diff --git a/lib/linker.dart b/lib/linker.dart
index 5bca6d92177b34f4208b91b3a234153e97afac91..fa1ab9de9e75f4ad3349c7b852f27bd3eeb36bb0 100644
--- a/lib/linker.dart
+++ b/lib/linker.dart
@@ -48,7 +48,7 @@ class GenerationContext {
/// Makes info about a .pb.dart file available for reference,
/// using the filename given to us by protoc.
void registerProtoFile(FileGenerator f) {
- _files[f._fileDescriptor.name] = f;
+ _files[f.descriptor.name] = f;
}
/// Makes a message, group, or enum available for reference.

Powered by Google App Engine
This is Rietveld 408576698