Chromium Code Reviews| Index: lib/dom/templates/dom/native/dart_implementation.darttemplate |
| diff --git a/lib/dom/templates/dom/native/dart_implementation.darttemplate b/lib/dom/templates/dom/native/dart_implementation.darttemplate |
| index 62a255d3aa76870c4dc3865c7b97f4f14b1473d7..c4422b49aa7418965509bcdab0d8df0e105f93ca 100644 |
| --- a/lib/dom/templates/dom/native/dart_implementation.darttemplate |
| +++ b/lib/dom/templates/dom/native/dart_implementation.darttemplate |
| @@ -4,9 +4,15 @@ |
| // WARNING: Do not edit - generated code. |
| -class $CLASS extends $BASE implements $INTERFACE { |
| - static $CLASS _create$CLASS() => new $CLASS._create$CLASS(); |
| +interface _$INTERFACE { |
| +} |
| + |
| +class $CLASS extends $BASE implements _$INTERFACE { |
| $CLASS._create$CLASS(); |
| String get typeName() => "$INTERFACE"; |
| $MEMBERS |
| } |
| + |
| +_create$CLASS() => new $CLASS._create$CLASS(); |
|
Anton Muhin
2012/05/23 14:03:31
why those are not static methods?
podivilov
2012/05/23 14:52:40
Because of the bug with Dart_GetClass for private
|
| + |
| +_is$CLASS(object) => object is $CLASS; |