Chromium Code Reviews| Index: dart/sdk/lib/_internal/compiler/implementation/warnings.dart |
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/warnings.dart b/dart/sdk/lib/_internal/compiler/implementation/warnings.dart |
| index 2c361748cc64d9d3d7006f2c7b90fbe074186ad4..5a086c878026f4011f19755b74a596306daaba03 100644 |
| --- a/dart/sdk/lib/_internal/compiler/implementation/warnings.dart |
| +++ b/dart/sdk/lib/_internal/compiler/implementation/warnings.dart |
| @@ -1497,7 +1497,7 @@ main() {} |
| class Class { |
| method(); |
| } |
| -main() => new Class(); |
| +main() => new Class().method(); |
|
ahe
2014/04/22 14:06:21
Gets rid of a warning.
|
| """]); |
| static const MessageKind ABSTRACT_GETTER = const MessageKind( |
| @@ -1722,7 +1722,7 @@ main() { |
| howToFix: DONT_KNOW_HOW_TO_FIX, |
| examples: const [""" |
| main() { |
| - print(ç); |
| + String x = ç; |
|
ahe
2014/04/22 14:06:21
This tests my change.
|
| } |
| """]); |