| Index: pkg/compiler/lib/src/resolution/resolution_strategy.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/resolution_strategy.dart b/pkg/compiler/lib/src/resolution/resolution_strategy.dart
|
| index 4d8dff91b153ccf76c40fbbf13addb6bb9220183..d9ace8326c2ae41c3e9804f5558222426981e463 100644
|
| --- a/pkg/compiler/lib/src/resolution/resolution_strategy.dart
|
| +++ b/pkg/compiler/lib/src/resolution/resolution_strategy.dart
|
| @@ -46,7 +46,8 @@ import 'no_such_method_resolver.dart';
|
|
|
| /// [FrontendStrategy] that loads '.dart' files and creates a resolved element
|
| /// model using the resolver.
|
| -class ResolutionFrontEndStrategy extends FrontendStrategyBase {
|
| +class ResolutionFrontEndStrategy extends FrontendStrategyBase
|
| + with ComputeSpannableMixin {
|
| final Compiler _compiler;
|
| final _CompilerElementEnvironment _elementEnvironment;
|
| final CommonElements commonElements;
|
| @@ -222,7 +223,9 @@ class ResolutionFrontEndStrategy extends FrontendStrategyBase {
|
| _elementEnvironment._mainFunction = mainMethod;
|
| return mainMethod;
|
| }
|
| +}
|
|
|
| +class ComputeSpannableMixin {
|
| SourceSpan spanFromToken(Element currentElement, Token token) =>
|
| _spanFromTokens(currentElement, token, token);
|
|
|
|
|