Chromium Code Reviews| Index: language/src/Prefix3NegativeTest.dart |
| =================================================================== |
| --- language/src/Prefix3NegativeTest.dart (revision 4199) |
| +++ language/src/Prefix3NegativeTest.dart (working copy) |
| @@ -4,10 +4,11 @@ |
| // |
| // Using the same prefix name while importing two different libraries is |
| -// an error. |
| +// not an error but both library1.dart and library2.dart define 'foo' which |
| +// results in a duplicate definition error. |
| #library("Prefix3NegativeTest.dart"); |
| -#import("library1.dart", prefix: "lib2"); |
| -#import("library2.dart", prefix: "lib2"); |
| +#import("library1.dart", prefix: "lib2"); // defines 'foo'. |
| +#import("library2.dart", prefix: "lib2"); // alsi defines 'foo'. |
|
hausner
2012/02/14 23:20:47
alsi -> also
siva
2012/02/14 23:36:02
Done.
|
| class Prefix3NegativeTest { |
| static Main() { |