OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletch.vm_session; | 5 library fletch.vm_session; |
6 | 6 |
7 import 'dart:core'; | 7 import 'dart:core'; |
8 import 'dart:async'; | 8 import 'dart:async'; |
9 import 'dart:convert'; | 9 import 'dart:convert'; |
10 import 'dart:io' hide exit; | 10 import 'dart:io' hide exit; |
11 | 11 |
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 return ''; | 848 return ''; |
849 } else if (response is ProcessTerminated) { | 849 } else if (response is ProcessTerminated) { |
850 return '### process terminated\n'; | 850 return '### process terminated\n'; |
851 | 851 |
852 } else if (response is ConnectionError) { | 852 } else if (response is ConnectionError) { |
853 return '### lost connection to the virtual machine\n'; | 853 return '### lost connection to the virtual machine\n'; |
854 } | 854 } |
855 return ''; | 855 return ''; |
856 } | 856 } |
857 } | 857 } |
OLD | NEW |