| Index: pkg/compiler/lib/src/js_emitter/model.dart
|
| diff --git a/pkg/compiler/lib/src/js_emitter/model.dart b/pkg/compiler/lib/src/js_emitter/model.dart
|
| index 1c3f80d72cbbf1e8885d7ab12b17cb6ece405431..468d985ea3d695dddfc654297f5f2d9aca8e36c9 100644
|
| --- a/pkg/compiler/lib/src/js_emitter/model.dart
|
| +++ b/pkg/compiler/lib/src/js_emitter/model.dart
|
| @@ -367,11 +367,17 @@ class StubMethod extends Method {
|
| : super(element, name, code);
|
| }
|
|
|
| -class StaticMethod extends DartMethod {
|
| +abstract class StaticMethod implements Method {
|
| + Holder get holder;
|
| +}
|
| +
|
| +class StaticDartMethod extends DartMethod implements StaticMethod {
|
| final Holder holder;
|
| - StaticMethod(Element element, String name, this.holder, js.Expression code,
|
| - {bool needsTearOff, String tearOffName, bool canBeApplied,
|
| - bool canBeReflected, bool needsStubs})
|
| +
|
| + StaticDartMethod(Element element, String name, this.holder,
|
| + js.Expression code,
|
| + {bool needsTearOff, String tearOffName, bool canBeApplied,
|
| + bool canBeReflected, bool needsStubs})
|
| : super(element, name, code,
|
| needsTearOff: needsTearOff,
|
| tearOffName : tearOffName,
|
| @@ -380,7 +386,7 @@ class StaticMethod extends DartMethod {
|
| needsStubs : needsStubs);
|
| }
|
|
|
| -class StaticStubMethod extends StubMethod {
|
| +class StaticStubMethod extends StubMethod implements StaticMethod {
|
| Holder holder;
|
| StaticStubMethod(String name, this.holder, js.Expression code)
|
| : super(name, code);
|
|
|