| Index: tests/compiler/dart2js/kernel/impact_test.dart
|
| diff --git a/tests/compiler/dart2js/kernel/impact_test.dart b/tests/compiler/dart2js/kernel/impact_test.dart
|
| index 97a9ecbbad5384f7c3bf6102b18d668f334608b2..640a925c93324cd90efe3ee55ed79a838190a543 100644
|
| --- a/tests/compiler/dart2js/kernel/impact_test.dart
|
| +++ b/tests/compiler/dart2js/kernel/impact_test.dart
|
| @@ -63,6 +63,9 @@ main() {
|
| testDynamicGet(null);
|
| testDynamicSet(null);
|
| testLocalWithInitializer();
|
| + testLocalFunction();
|
| + testLocalFunctionInvoke();
|
| + testLocalFunctionGet();
|
| testInvokeIndex(null);
|
| testInvokeIndexSet(null);
|
| testAssert();
|
| @@ -164,6 +167,17 @@ testDynamicSet(o) => o.foo = 42;
|
| testLocalWithInitializer() {
|
| var l = 42;
|
| }
|
| +testLocalFunction() {
|
| + localFunction() {}
|
| +}
|
| +testLocalFunctionInvoke() {
|
| + localFunction() {}
|
| + localFunction();
|
| +}
|
| +testLocalFunctionGet() {
|
| + localFunction() {}
|
| + localFunction;
|
| +}
|
| testInvokeIndex(o) => o[42];
|
| testInvokeIndexSet(o) => o[42] = null;
|
| testAssert() {
|
|
|