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

Unified Diff: lib/code_generator.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
« no previous file with comments | « no previous file | lib/file_generator.dart » ('j') | lib/file_generator.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/code_generator.dart
diff --git a/lib/code_generator.dart b/lib/code_generator.dart
index 2f3f92cc664804641c815f533e1c35013cfbf53a..9c9182ee61dc92e5ba372abb52bc0faeb6ecf083 100644
--- a/lib/code_generator.dart
+++ b/lib/code_generator.dart
@@ -63,7 +63,7 @@ class CodeGenerator extends ProtobufContainer {
// Generate the .pb.dart file if requested.
for (var gen in generators) {
- var name = gen._fileDescriptor.name;
+ var name = gen.descriptor.name;
if (request.fileToGenerate.contains(name)) {
response.file.addAll(gen.generateFiles(config));
}
« no previous file with comments | « no previous file | lib/file_generator.dart » ('j') | lib/file_generator.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698