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

Unified Diff: lib/src/protobuf/extension.dart

Issue 1844293003: Add generic types for strong mode (Closed) Base URL: git@github.com:dart-lang/dart-protobuf.git@master
Patch Set: oops, change all callers to use fi._createRepeatedField Created 4 years, 9 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/src/protobuf/extension.dart
diff --git a/lib/src/protobuf/extension.dart b/lib/src/protobuf/extension.dart
index 32dceab15a6ba14434515c52c012649287f04be7..cfed0a4598e0161d5d38d3e634bbc196074b5011 100644
--- a/lib/src/protobuf/extension.dart
+++ b/lib/src/protobuf/extension.dart
@@ -7,7 +7,7 @@ part of protobuf;
/**
* An object representing an extension field.
*/
-class Extension extends FieldInfo {
+class Extension<T> extends FieldInfo<T> {
final String extendee;
Extension(this.extendee, String name, int tagNumber, int fieldType,

Powered by Google App Engine
This is Rietveld 408576698