Skip to content

Commit

Permalink
Enable expression evaluation in the debugger for web (flutter#17324)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Gringauze authored Mar 27, 2020
1 parent 4affba4 commit 946df02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flutter_frontend_server/lib/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface {
expression, definitions, typeDefinitions, libraryUri, klass, isStatic);
}

// ignore: annotate_overrides
@override
Future<Null> compileExpressionToJs(
String libraryUri,
int line,
Expand All @@ -81,7 +81,8 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface {
Map<String, String> jsFrameValues,
String moduleName,
String expression) {
throw UnimplementedError('Compile expression to JS is not supported');
return _compiler.compileExpressionToJs(libraryUri, line, column, jsModules,
jsFrameValues, moduleName, expression);
}

@override
Expand Down

0 comments on commit 946df02

Please sign in to comment.