 Chromium Code Reviews
 Chromium Code Reviews Issue 2977583002:
  Fix handling of async patches.  (Closed)
    
  
    Issue 2977583002:
  Fix handling of async patches.  (Closed) 
  | OLD | NEW | 
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | |
| 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 file. | |
| 4 | |
| 5 // Regression test for faulty encoding of `Isolate.resolvePackageUri` by | |
| 6 // dart2js. | |
| 7 | |
| 8 import 'dart:async'; | |
| 9 import 'dart:isolate'; | |
| 10 | |
| 11 main() { | |
| 12 Future<Uri> uri = Isolate.resolvePackageUri(Uri.parse('memory:main.dart')); | |
| 13 print(uri); | |
| 14 } | |
| OLD | NEW |