| Index: dart/tests/try/web/incremental_compilation_update_test.dart
|
| diff --git a/dart/tests/try/web/incremental_compilation_update_test.dart b/dart/tests/try/web/incremental_compilation_update_test.dart
|
| index 2223ce6e4a0e9f2030883316dadae93b00eebc2d..2b593ad55e2ab1d6712480e9f6aae41c2718f71e 100644
|
| --- a/dart/tests/try/web/incremental_compilation_update_test.dart
|
| +++ b/dart/tests/try/web/incremental_compilation_update_test.dart
|
| @@ -198,46 +198,46 @@ main() {
|
| const <String> ['v2']),
|
| ],
|
|
|
| -// // Test that deleting an instance method works.
|
| -// const <ProgramResult>[
|
| -// const ProgramResult(
|
| -// """
|
| -// class C {
|
| -// m() {
|
| -// print('v1');
|
| -// }
|
| -// }
|
| -// var instance;
|
| -// main() {
|
| -// if (instance == null) {
|
| -// instance = new C();
|
| -// }
|
| -// try {
|
| -// instance.m();
|
| -// } catch (e) {
|
| -// print('v2');
|
| -// }
|
| -// }
|
| -// """,
|
| -// const <String> ['v1']),
|
| -// const ProgramResult(
|
| -// """
|
| -// class C {
|
| -// }
|
| -// var instance;
|
| -// main() {
|
| -// if (instance == null) {
|
| -// instance = new C();
|
| -// }
|
| -// try {
|
| -// instance.m();
|
| -// } catch (e) {
|
| -// print('v2');
|
| -// }
|
| -// }
|
| -// """,
|
| -// const <String> ['v2']),
|
| -// ],
|
| + // Test that deleting an instance method works.
|
| + const <ProgramResult>[
|
| + const ProgramResult(
|
| + """
|
| +class C {
|
| + m() {
|
| + print('v1');
|
| + }
|
| +}
|
| +var instance;
|
| +main() {
|
| + if (instance == null) {
|
| + instance = new C();
|
| + }
|
| + try {
|
| + instance.m();
|
| + } catch (e) {
|
| + print('v2');
|
| + }
|
| +}
|
| +""",
|
| + const <String> ['v1']),
|
| + const ProgramResult(
|
| + """
|
| +class C {
|
| +}
|
| +var instance;
|
| +main() {
|
| + if (instance == null) {
|
| + instance = new C();
|
| + }
|
| + try {
|
| + instance.m();
|
| + } catch (e) {
|
| + print('v2');
|
| + }
|
| +}
|
| +""",
|
| + const <String> ['v2']),
|
| + ],
|
|
|
| // Test that deleting an instance method works, even when accessed through
|
| // super.
|
|
|