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 {
480
480
) async {
481
481
_stdoutHandler.reset (suppressCompilerMessages: true , expectSources: false );
482
482
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
+
483
487
// 'compile-expression' should be invoked after compiler has been started,
484
488
// program was compiled.
485
489
if (_server == null ) {
@@ -488,7 +492,6 @@ class ResidentCompiler {
488
492
final server = _server! ;
489
493
490
494
final inputKey = generateV4UUID ();
491
- if (1 + 1 == 2 ) throw 'hello #2' ;
492
495
server.stdin.writeln ('compile-expression $inputKey ' );
493
496
server.stdin.writeln (request.expression);
494
497
request.definitions.forEach (server.stdin.writeln);
You can’t perform that action at this time.
0 commit comments