| Index: sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| index ccba536ff45e49a92b41aa971b2dd794d0267341..37b17c304f29317eff54b81f7b545649aa606188 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| @@ -68,13 +68,13 @@ class Enqueuer {
|
| }
|
|
|
| /**
|
| - * Documentation wanted -- johnniwinther
|
| + * Unit test hook that returns code of an element as a String.
|
| *
|
| * Invariant: [element] must be a declaration element.
|
| */
|
| String lookupCode(Element element) {
|
| assert(invariant(element, element.isDeclaration));
|
| - return universe.generatedCode[element].toString();
|
| + return js.prettyPrint(universe.generatedCode[element], compiler).getText();
|
| }
|
|
|
| /**
|
|
|