Chromium Code Reviews| Index: frog/leg/scanner/scanner_task.dart |
| =================================================================== |
| --- frog/leg/scanner/scanner_task.dart (revision 4753) |
| +++ frog/leg/scanner/scanner_task.dart (working copy) |
| @@ -87,12 +87,13 @@ |
| LibraryElement loadLibrary(Uri uri, ScriptTag node) { |
| bool newLibrary = false; |
| + String libraryName = uri.toString(); |
| LibraryElement library = |
| - compiler.universe.libraries.putIfAbsent(uri.toString(), () { |
| + compiler.universe.libraries.putIfAbsent(libraryName, () { |
| newLibrary = true; |
| Script script = compiler.readScript(uri, node); |
| LibraryElement element = new LibraryElement(script); |
| - native.checkNativeSupport(compiler, element); |
| + native.checkNativeSupport(compiler, element, libraryName); |
|
ahe
2012/02/29 17:35:27
I think you should pass the URI in here instead.
ngeoffray
2012/03/01 08:57:57
Done.
|
| return element; |
| }); |
| if (newLibrary) { |