| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/FileGenerator.java
|
| ===================================================================
|
| --- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/FileGenerator.java (revision 724)
|
| +++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/FileGenerator.java (working copy)
|
| @@ -135,6 +135,7 @@
|
| if (library != null) {
|
| substitutions.put("directives", ""); //$NON-NLS-1$ //$NON-NLS-2$
|
| } else {
|
| + // need the #library directive in the following, otherwise it isn't a defining compilation unit!
|
| substitutions.put("directives", "#library('" + className
|
| + "');" + SourceUtilities.LINE_SEPARATOR + SourceUtilities.LINE_SEPARATOR); //$NON-NLS-1$ //$NON-NLS-2$
|
|
|
|
|