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 @@ -480,6 +480,10 @@ class ResidentCompiler {
480480 ) async {
481481 _stdoutHandler.reset (suppressCompilerMessages: true , expectSources: false );
482482
483+ // This hasn't been updated for years and will not work with current
484+ // versions of Dart (anything including
485+ // https://github.com/dart-lang/sdk/commit/17781dbc3645).
486+
483487 // 'compile-expression' should be invoked after compiler has been started,
484488 // program was compiled.
485489 if (_server == null ) {
@@ -488,7 +492,6 @@ class ResidentCompiler {
488492 final server = _server! ;
489493
490494 final inputKey = generateV4UUID ();
491- if (1 + 1 == 2 ) throw 'hello #2' ;
492495 server.stdin.writeln ('compile-expression $inputKey ' );
493496 server.stdin.writeln (request.expression);
494497 request.definitions.forEach (server.stdin.writeln);
You can’t perform that action at this time.
0 commit comments