Skip to content

Commit

Permalink
supporting changes for evaluation in web debugger (#16309)
Browse files Browse the repository at this point in the history
 add compileExpressionToJs in frontend server in preparation for coming
  evaluation changes in the SDK
  • Loading branch information
annagrin committed Feb 3, 2020
1 parent e43a100 commit 810b9b9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions flutter_frontend_server/lib/server.dart
Expand Up @@ -70,6 +70,17 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface {
expression, definitions, typeDefinitions, libraryUri, klass, isStatic);
}

Future<Null> compileExpressionToJs(
String libraryUri,
int line,
int column,
Map<String,String> jsModules,
Map<String,String> jsFrameValues,
String moduleName,
String expression) {
throw UnimplementedError('Compile expression to JS is not supported');
}

@override
void reportError(String msg) {
_compiler.reportError(msg);
Expand Down

0 comments on commit 810b9b9

Please sign in to comment.