| Index: sdk/lib/_internal/compiler/compiler.dart
|
| diff --git a/sdk/lib/_internal/compiler/compiler.dart b/sdk/lib/_internal/compiler/compiler.dart
|
| index f9b25e22246a3822052ba9dc7687e760e90b2df8..258a8b430d5cb9ee62a2154f00ebf33cd0808c04 100644
|
| --- a/sdk/lib/_internal/compiler/compiler.dart
|
| +++ b/sdk/lib/_internal/compiler/compiler.dart
|
| @@ -43,12 +43,6 @@ Future<String> compile(Uri script,
|
| ReadStringFromUri provider,
|
| DiagnosticHandler handler,
|
| [List<String> options = const []]) {
|
| - if (!libraryRoot.path.endsWith("/")) {
|
| - throw new ArgumentError("libraryRoot must end with a /");
|
| - }
|
| - if (packageRoot != null && !packageRoot.path.endsWith("/")) {
|
| - throw new ArgumentError("packageRoot must end with a /");
|
| - }
|
| // TODO(ahe): Consider completing the future with an exception if
|
| // code is null.
|
| Compiler compiler = new Compiler(provider, handler, libraryRoot, packageRoot,
|
|
|