Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: lib/src/compiler/compiler.dart

Issue 1926283002: implement generic method runtime behavior, fixes #301 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/compiler/code_generator.dart ('k') | test/browser/runtime_tests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler/compiler.dart
diff --git a/lib/src/compiler/compiler.dart b/lib/src/compiler/compiler.dart
index 891cedeaf12cebd6a22afd6e6cdffea4691a35ad..fa6ea22859aacc776736e5cc1df44dbabc3fba21 100644
--- a/lib/src/compiler/compiler.dart
+++ b/lib/src/compiler/compiler.dart
@@ -67,7 +67,7 @@ class ModuleCompiler {
if (sourceUri.scheme == '') {
sourceUri = path.toUri(path.absolute(sourcePath));
}
- Source source = context.sourceFactory.forUri(sourceUri.toString());
+ Source source = context.sourceFactory.forUri2(sourceUri);
if (source == null) {
throw new AnalysisException('could not create a source for $sourcePath.'
' The file name is in the wrong format or was not found.');
« no previous file with comments | « lib/src/compiler/code_generator.dart ('k') | test/browser/runtime_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698