e2f92be5ae
Bug: Change-Id: Ib2e0effabc354b5864f59b0de6611381d7dfd0df Reviewed-on: https://dart-review.googlesource.com/11250 Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Bob Nystrom <rnystrom@google.com> Reviewed-by: Phil Quitslund <pquitslund@google.com>
15 lines
451 B
Dart
15 lines
451 B
Dart
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
// Regression test for faulty encoding of `Isolate.resolvePackageUri` by
|
|
// dart2js.
|
|
|
|
import 'dart:async';
|
|
import 'dart:isolate';
|
|
|
|
main() {
|
|
Future<Uri> uri = Isolate.resolvePackageUri(Uri.parse('memory:main.dart'));
|
|
print(uri);
|
|
}
|