Skip to content

Commit

Permalink
[frontend_server] forward new module name flag (flutter#17002)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahwilliams authored Mar 9, 2020
1 parent f6aa7a0 commit 99cdc4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flutter_frontend_server/lib/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface {

_FlutterFrontendCompiler(StringSink output,
{bool unsafePackageSerialization,
bool useDebuggerModuleNames,
frontend.ProgramTransformer transformer})
: _compiler = frontend.FrontendCompiler(output,
transformer: transformer,
useDebuggerModuleNames: useDebuggerModuleNames,
unsafePackageSerialization: unsafePackageSerialization);

@override
Expand Down Expand Up @@ -155,6 +157,7 @@ Future<int> starter(

compiler ??= _FlutterFrontendCompiler(output,
transformer: transformer,
useDebuggerModuleNames: options['debugger-module-names'] as bool,
unsafePackageSerialization:
options['unsafe-package-serialization'] as bool);

Expand Down

0 comments on commit 99cdc4a

Please sign in to comment.