| Index: dart/lib/compiler/compiler.dart
|
| diff --git a/dart/lib/compiler/compiler.dart b/dart/lib/compiler/compiler.dart
|
| index bc8ed51be087daa8210e1f93c535a967499eb5a8..b7a780fe82600a5629e77f5890da41c3d79e9b02 100644
|
| --- a/dart/lib/compiler/compiler.dart
|
| +++ b/dart/lib/compiler/compiler.dart
|
| @@ -38,10 +38,12 @@ typedef void DiagnosticHandler(Uri uri, int begin, int end,
|
| */
|
| Future<String> compile(Uri script,
|
| Uri libraryRoot,
|
| + Uri packageRoot,
|
| ReadUriFromString provider,
|
| DiagnosticHandler handler,
|
| [List<String> options = const []]) {
|
| - Compiler compiler = new Compiler(provider, handler, libraryRoot, options);
|
| + Compiler compiler = new Compiler(provider, handler, libraryRoot, packageRoot,
|
| + options);
|
| compiler.run(script);
|
| String code = compiler.assembledCode;
|
| Completer<String> completer = new Completer<String>();
|
|
|