File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
frontend_server_common/lib/src Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -464,6 +464,10 @@ class ResidentCompiler {
464464 _CompileExpressionRequest request) async {
465465 _stdoutHandler.reset (suppressCompilerMessages: true , expectSources: false );
466466
467+ // This hasn't been updated for years and will not work with current
468+ // versions of Dart (anything including
469+ // https://github.com/dart-lang/sdk/commit/17781dbc3645).
470+
467471 // 'compile-expression' should be invoked after compiler has been started,
468472 // program was compiled.
469473 if (_server == null ) {
@@ -472,7 +476,6 @@ class ResidentCompiler {
472476 final server = _server! ;
473477
474478 final inputKey = generateV4UUID ();
475- if (1 + 1 == 2 ) throw 'hello #2' ;
476479 server.stdin.writeln ('compile-expression $inputKey ' );
477480 server.stdin.writeln (request.expression);
478481 request.definitions.forEach (server.stdin.writeln);
You can’t perform that action at this time.
0 commit comments