Chromium Code Reviews| Index: tests/compiler/dart2js/inference/data/locals.dart |
| diff --git a/tests/compiler/dart2js/inference/data/locals.dart b/tests/compiler/dart2js/inference/data/locals.dart |
| index eefa25bc290d58285c4b98390bf65bfb9cb30877..4ef0128215a426c77b066e227100216594ccb115 100644 |
| --- a/tests/compiler/dart2js/inference/data/locals.dart |
| +++ b/tests/compiler/dart2js/inference/data/locals.dart |
| @@ -7,6 +7,8 @@ main() { |
| uninitializedLocal(); |
| initializedLocal(); |
| updatedLocal(); |
| + invokeLocal(); |
| + postfixLocal(); |
| } |
| /*element: uninitializedLocal:[null]*/ |
| @@ -27,3 +29,18 @@ updatedLocal() { |
| local2 = 0; |
| return local2; |
| } |
| + |
| +/*element: invokeLocal:[null]*/ |
| +invokeLocal() { |
| + var local2 = 0; |
| + local2. /*invoke: [exact=JSUInt31]*/ toString(); |
| + return null; |
| +} |
| + |
| +/*element: postfixLocal:[null]*/ |
| +postfixLocal() { |
| + // ignore: UNUSED_LOCAL_VARIABLE |
|
Siggi Cherem (dart-lang)
2017/09/05 19:20:39
should we disable running the analyzer on this dat
Johnni Winther
2017/09/07 08:08:52
Maybe.
|
| + var local2 = 0; |
| + local2 /*invoke: [exact=JSUInt31]*/ ++; |
| + return null; |
| +} |