Index: sdk/lib/_internal/compiler/implementation/apiimpl.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/apiimpl.dart b/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
index d77e120bf13c719c299db448cd80d77ab47bcc64..119e891593df03bc8f2b3646a25551b21ef802c8 100644 |
--- a/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
+++ b/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
@@ -34,15 +34,7 @@ class Compiler extends leg.Compiler { |
disallowUnsafeEval: hasOption(options, '--disallow-unsafe-eval'), |
strips: getStrips(options), |
enableConcreteTypeInference: |
- hasOption(options, '--enable-concrete-type-inference')) { |
- 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 /"); |
- } |
- } |
- |
+ hasOption(options, '--enable-concrete-type-inference')); |
static List<String> getStrips(List<String> options) { |
for (String option in options) { |