| Index: sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| index 121fe5b45757a07ae96c40e480d2d9acefeed8dd..94523f092acdc2a38df11c8bef179891a973a8ec 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| @@ -799,26 +799,6 @@ class CompileTimeConstantEvaluator extends Visitor {
|
| }
|
| }
|
|
|
| -class TryCompileTimeConstantEvaluator extends CompileTimeConstantEvaluator {
|
| - TryCompileTimeConstantEvaluator(ConstantHandler handler,
|
| - TreeElements elements,
|
| - Compiler compiler)
|
| - : super(handler, elements, compiler, isConst: true);
|
| -
|
| - error(Node node, MessageKind message) {
|
| - // Just fail without reporting it anywhere.
|
| - throw new CompileTimeConstantError(
|
| - message, const {}, compiler.terseDiagnostics);
|
| - }
|
| -}
|
| -
|
| -class CompileTimeConstantError {
|
| - final Message message;
|
| - CompileTimeConstantError(MessageKind kind, Map arguments, bool terse)
|
| - : message = new Message(kind, arguments, terse);
|
| - String toString() => message.toString();
|
| -}
|
| -
|
| class ConstructorEvaluator extends CompileTimeConstantEvaluator {
|
| final FunctionElement constructor;
|
| final Map<Element, Constant> definitions;
|
|
|