Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: tests/compiler/dart2js/semantic_visitor_test_send_data.dart

Issue 1677423002: Revert "Fix super noSuchMethod handling." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart2js.semantics_visitor_test; 5 part of dart2js.semantics_visitor_test;
6 6
7 const Map<String, List<Test>> SEND_TESTS = const { 7 const Map<String, List<Test>> SEND_TESTS = const {
8 'Parameters': const [ 8 'Parameters': const [
9 // Parameters 9 // Parameters
10 const Test('m(o) => o;', 10 const Test('m(o) => o;',
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1301 arguments: '(null,42)')), 1301 arguments: '(null,42)')),
1302 const Test.clazz( 1302 const Test.clazz(
1303 ''' 1303 '''
1304 class B { 1304 class B {
1305 } 1305 }
1306 class C extends B { 1306 class C extends B {
1307 m() => super.o; 1307 m() => super.o;
1308 } 1308 }
1309 ''', 1309 ''',
1310 const Visit(VisitKind.VISIT_UNRESOLVED_SUPER_GET)), 1310 const Visit(VisitKind.VISIT_UNRESOLVED_SUPER_GET)),
1311 const Test.clazz(
1312 '''
1313 class B {
1314 }
1315 class C extends B {
1316 m() => super.o = 42;
1317 }
1318 ''',
1319 const Visit(VisitKind.VISIT_UNRESOLVED_SUPER_SET,
1320 rhs: '42')),
1321 ], 1311 ],
1322 'Super properties': const [ 1312 'Super properties': const [
1323 // Super properties 1313 // Super properties
1324 const Test.clazz( 1314 const Test.clazz(
1325 ''' 1315 '''
1326 class B { 1316 class B {
1327 get o => null; 1317 get o => null;
1328 } 1318 }
1329 class C extends B { 1319 class C extends B {
1330 m() => super.o; 1320 m() => super.o;
(...skipping 3181 matching lines...) Expand 10 before | Expand all | Expand 10 after
4512 element: 'field(a)', rhs: '42')), 4502 element: 'field(a)', rhs: '42')),
4513 4503
4514 const Test( 4504 const Test(
4515 ''' 4505 '''
4516 m() => unresolved ??= 42; 4506 m() => unresolved ??= 42;
4517 ''', 4507 ''',
4518 const Visit(VisitKind.VISIT_UNRESOLVED_SET_IF_NULL, 4508 const Visit(VisitKind.VISIT_UNRESOLVED_SET_IF_NULL,
4519 name: 'unresolved', rhs: '42')), 4509 name: 'unresolved', rhs: '42')),
4520 ], 4510 ],
4521 }; 4511 };
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/semantic_visitor_test.dart ('k') | tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698