| Index: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| index 6a1eaf46026472cd08cfaa6e74f09b75fc6e2891..03cc3b9561213e0f1004f995995d19ad62d6ae4a 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| @@ -3234,13 +3234,16 @@ if (typeof document !== "undefined" && document.readyState !== "complete") {
|
| emitStaticFunctionGetters(mainBuffer);
|
|
|
| emitRuntimeTypeSupport(mainBuffer);
|
| + emitGetInterceptorMethods(mainBuffer);
|
| + // Constants in checked mode call into RTI code to set type information
|
| + // which may need getInterceptor methods, so we have to make sure that
|
| + // [emitGetInterceptorMethods] has been called.
|
| emitCompileTimeConstants(mainBuffer);
|
| // Static field initializations require the classes and compile-time
|
| // constants to be set up.
|
| emitStaticNonFinalFieldInitializations(mainBuffer);
|
| emitOneShotInterceptors(mainBuffer);
|
| emitInterceptedNames(mainBuffer);
|
| - emitGetInterceptorMethods(mainBuffer);
|
| emitLazilyInitializedStaticFields(mainBuffer);
|
|
|
| mainBuffer.add(nativeBuffer);
|
|
|