From 78dca00cec469359fa787ee0cfc723bd1f74836c Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Mon, 3 Feb 2020 13:20:15 -0800 Subject: [PATCH] supporting changes for evaluation in web debugger (flutter/engine#16309) add compileExpressionToJs in frontend server in preparation for coming evaluation changes in the SDK --- .../flutter/flutter_frontend_server/lib/server.dart | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/engine/src/flutter/flutter_frontend_server/lib/server.dart b/engine/src/flutter/flutter_frontend_server/lib/server.dart index 036925de6c..174c6dd909 100644 --- a/engine/src/flutter/flutter_frontend_server/lib/server.dart +++ b/engine/src/flutter/flutter_frontend_server/lib/server.dart @@ -70,6 +70,17 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface { expression, definitions, typeDefinitions, libraryUri, klass, isStatic); } + Future compileExpressionToJs( + String libraryUri, + int line, + int column, + Map jsModules, + Map jsFrameValues, + String moduleName, + String expression) { + throw UnimplementedError('Compile expression to JS is not supported'); + } + @override void reportError(String msg) { _compiler.reportError(msg);