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

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

Issue 11885039: Fix selector name check, and make the interceptor participate in speculatively propagating types. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 library mock_compiler; 5 library mock_compiler;
6 6
7 import 'dart:uri'; 7 import 'dart:uri';
8 8
9 import '../../../sdk/lib/_internal/compiler/compiler.dart' as api; 9 import '../../../sdk/lib/_internal/compiler/compiler.dart' as api;
10 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t'; 10 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t';
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 var length; 59 var length;
60 operator[](index) {} 60 operator[](index) {}
61 operator[]=(index, value) {} 61 operator[]=(index, value) {}
62 var add; 62 var add;
63 } 63 }
64 class JSString { 64 class JSString {
65 var length; 65 var length;
66 operator[](index) {} 66 operator[](index) {}
67 } 67 }
68 class JSNumber { 68 class JSNumber {
69 operator-() {}
69 } 70 }
70 class JSInt { 71 class JSInt {
71 } 72 }
72 class JSDouble { 73 class JSDouble {
73 } 74 }
74 class JSNull { 75 class JSNull {
75 } 76 }
76 class JSBool { 77 class JSBool {
77 } 78 }
78 class JSFunction { 79 class JSFunction {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 operator []=(Node node, Element element) { 299 operator []=(Node node, Element element) {
299 map[node] = element; 300 map[node] = element;
300 } 301 }
301 302
302 operator [](Node node) => map[node]; 303 operator [](Node node) => map[node];
303 304
304 void remove(Node node) { 305 void remove(Node node) {
305 map.remove(node); 306 map.remove(node);
306 } 307 }
307 } 308 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698