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

Side by Side Diff: tool/sdk_expected_errors.txt

Issue 1230903002: fixes #6, refactor to use AnalysisError/Listener throughout dev_compiler (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « test/report_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 warning: line 168, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnFunction(entryPoint, message, paused).then((msg) => new Isolate(msg[1], pa useCapability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runtime check to cast to type Future<Isolate> 1 warning: line 168, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnFunction(entryPoint, message, paused).then((msg) => new Isolate(msg[1], pa useCapability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runtime check to cast to type Future<Isolate>
2 return IsolateNatives.spawnFunction(entryPoint, message, paused) 2 return IsolateNatives.spawnFunction(entryPoint, message, paused)
3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 warning: line 234, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnUri(uri, args, message, paused).then((msg) => new Isolate(msg[1], pauseCap ability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runti me check to cast to type Future<Isolate> 4 warning: line 234, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnUri(uri, args, message, paused).then((msg) => new Isolate(msg[1], pauseCap ability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runti me check to cast to type Future<Isolate>
5 return IsolateNatives.spawnUri(uri, args, message, paused) 5 return IsolateNatives.spawnUri(uri, args, message, paused)
6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 warning: line 426, column 16 of dart:math: [DownCastImplicit] rnd32.remainder(ma x) (num) will need runtime check to cast to type int 7 warning: line 426, column 16 of dart:math: [DownCastImplicit] rnd32.remainder(ma x) (num) will need runtime check to cast to type int
8 result = rnd32.remainder(max); // % max; 8 result = rnd32.remainder(max); // % max;
9 ^^^^^^^^^^^^^^^^^^^^ 9 ^^^^^^^^^^^^^^^^^^^^
10 warning: line 37, column 25 of dart:math/point.dart: [DownCastComposite] x + oth er.x (num) will need runtime check to cast to type T 10 warning: line 37, column 25 of dart:math/point.dart: [DownCastComposite] x + oth er.x (num) will need runtime check to cast to type T
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 ^^^^^^^^^^^^^ 105 ^^^^^^^^^^^^^
106 warning: line 231, column 16 of dart:math/rectangle.dart: [DownCastComposite] ma x(a.y, b.y) - top (num) will need runtime check to cast to type T 106 warning: line 231, column 16 of dart:math/rectangle.dart: [DownCastComposite] ma x(a.y, b.y) - top (num) will need runtime check to cast to type T
107 T height = max(a.y, b.y) - top; 107 T height = max(a.y, b.y) - top;
108 ^^^^^^^^^^^^^^^^^^^ 108 ^^^^^^^^^^^^^^^^^^^
109 warning: line 247, column 28 of dart:math/rectangle.dart: [DownCastComposite] _c lampToZero(width) (num) will need runtime check to cast to type T 109 warning: line 247, column 28 of dart:math/rectangle.dart: [DownCastComposite] _c lampToZero(width) (num) will need runtime check to cast to type T
110 if (width < 0) width = _clampToZero(width); 110 if (width < 0) width = _clampToZero(width);
111 ^^^^^^^^^^^^^^^^^^^ 111 ^^^^^^^^^^^^^^^^^^^
112 warning: line 263, column 30 of dart:math/rectangle.dart: [DownCastComposite] _c lampToZero(height) (num) will need runtime check to cast to type T 112 warning: line 263, column 30 of dart:math/rectangle.dart: [DownCastComposite] _c lampToZero(height) (num) will need runtime check to cast to type T
113 if (height < 0) height = _clampToZero(height); 113 if (height < 0) height = _clampToZero(height);
114 ^^^^^^^^^^^^^^^^^^^^ 114 ^^^^^^^^^^^^^^^^^^^^
115 warning: line 29, column 45 of dart:_interceptors: [AnalyzerMessage] Classes can not implement 'bool' 115 severe: line 29, column 45 of dart:_interceptors: [AnalyzerMessage] Classes cann ot implement 'bool'
116 class JSBool extends Interceptor implements bool { 116 class JSBool extends Interceptor implements bool {
117 ^^^^ 117 ^^^^
118 warning: line 80, column 12 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('var', r'#.pop()', this) (dynamic) will need runtime check to cast to ty pe E 118 warning: line 80, column 12 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('var', r'#.pop()', this) (dynamic) will need runtime check to cast to ty pe E
119 return JS('var', r'#.pop()', this); 119 return JS('var', r'#.pop()', this);
120 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 120 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
121 warning: line 125, column 9 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('', '#[#]', this, i) (dynamic) will need runtime check to cast to type E 121 warning: line 125, column 9 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('', '#[#]', this, i) (dynamic) will need runtime check to cast to type E
122 f(JS('', '#[#]', this, i)); 122 f(JS('', '#[#]', this, i));
123 ^^^^^^^^^^^^^^^^^^^^^^^ 123 ^^^^^^^^^^^^^^^^^^^^^^^
124 warning: line 161, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.reduce(this, combine) (dynamic) will need runtime check to cast to type E 124 warning: line 161, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.reduce(this, combine) (dynamic) will need runtime check to cast to type E
125 return IterableMixinWorkaround.reduce(this, combine); 125 return IterableMixinWorkaround.reduce(this, combine);
126 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 126 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127 warning: line 169, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.firstWhere(this, test, orElse) (dynamic) will need runtime check to cast to type E 127 warning: line 169, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.firstWhere(this, test, orElse) (dynamic) will need runtime check to cast to type E
128 return IterableMixinWorkaround.firstWhere(this, test, orElse); 128 return IterableMixinWorkaround.firstWhere(this, test, orElse);
129 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 129 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
130 warning: line 173, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.lastWhereList(this, test, orElse) (dynamic) will n eed runtime check to cast to type E 130 warning: line 173, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.lastWhereList(this, test, orElse) (dynamic) will n eed runtime check to cast to type E
131 return IterableMixinWorkaround.lastWhereList(this, test, orElse); 131 return IterableMixinWorkaround.lastWhereList(this, test, orElse);
132 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 132 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
133 warning: line 177, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.singleWhere(this, test) (dynamic) will need runtim e check to cast to type E 133 warning: line 177, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.singleWhere(this, test) (dynamic) will need runtim e check to cast to type E
134 return IterableMixinWorkaround.singleWhere(this, test); 134 return IterableMixinWorkaround.singleWhere(this, test);
135 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 135 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
136 warning: line 313, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] JS('var', '#[#]', this, index) (dynamic) will need runtime check to cast t o type E 136 warning: line 313, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] JS('var', '#[#]', this, index) (dynamic) will need runtime check to cast t o type E
137 return JS('var', '#[#]', this, index); 137 return JS('var', '#[#]', this, index);
138 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 138 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
139 warning: line 420, column 44 of dart:_interceptors/js_number.dart: [AnalyzerMess age] Classes cannot implement 'double' 139 severe: line 420, column 44 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] Classes cannot implement 'double'
140 class JSDouble extends JSNumber implements double { 140 class JSDouble extends JSNumber implements double {
141 ^^^^^^ 141 ^^^^^^
142 warning: line 349, column 41 of dart:_interceptors/js_number.dart: [AnalyzerMess age] Classes cannot implement 'int' 142 severe: line 349, column 41 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] Classes cannot implement 'int'
143 class JSInt extends JSNumber implements int, double { 143 class JSInt extends JSNumber implements int, double {
144 ^^^ 144 ^^^
145 warning: line 16, column 47 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] Classes cannot implement 'num' 145 severe: line 16, column 47 of dart:_interceptors/js_number.dart: [AnalyzerMessag e] Classes cannot implement 'num'
146 class JSNumber extends Interceptor implements num { 146 class JSNumber extends Interceptor implements num {
147 ^^^ 147 ^^^
148 severe: line 110, column 17 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] The return type 'JSNumber' is not a 'double', as defined by the method 'toDo uble' 148 severe: line 110, column 17 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] The return type 'JSNumber' is not a 'double', as defined by the method 'toDo uble'
149 toDouble() => this; 149 toDouble() => this;
150 ^^^^ 150 ^^^^
151 warning: line 349, column 46 of dart:_interceptors/js_number.dart: [AnalyzerMess age] Classes cannot implement 'double' 151 severe: line 349, column 46 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] Classes cannot implement 'double'
152 class JSInt extends JSNumber implements int, double { 152 class JSInt extends JSNumber implements int, double {
153 ^^^^^^ 153 ^^^^^^
154 warning: line 83, column 28 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.ceil(#)', this) (num) will need runtime check to cast to t ype double 154 warning: line 83, column 28 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.ceil(#)', this) (num) will need runtime check to cast to t ype double
155 double ceilToDouble() => JS('num', r'Math.ceil(#)', this); 155 double ceilToDouble() => JS('num', r'Math.ceil(#)', this);
156 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 156 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
157 warning: line 85, column 29 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.floor(#)', this) (num) will need runtime check to cast to type double 157 warning: line 85, column 29 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.floor(#)', this) (num) will need runtime check to cast to type double
158 double floorToDouble() => JS('num', r'Math.floor(#)', this); 158 double floorToDouble() => JS('num', r'Math.floor(#)', this);
159 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 159 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
160 warning: line 89, column 14 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'-Math.round(-#)', this) (num) will need runtime check to cast t o type double 160 warning: line 89, column 14 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'-Math.round(-#)', this) (num) will need runtime check to cast t o type double
161 return JS('num', r'-Math.round(-#)', this); 161 return JS('num', r'-Math.round(-#)', this);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 ^^^^^^^^^^^^^^^^ 213 ^^^^^^^^^^^^^^^^
214 severe: line 420, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.* ((nu m) → num) is not a subtype of double.* ((num) → double). 214 severe: line 420, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.* ((nu m) → num) is not a subtype of double.* ((num) → double).
215 class JSDouble extends JSNumber implements double { 215 class JSDouble extends JSNumber implements double {
216 ^^^^^^^^^^^^^^^^ 216 ^^^^^^^^^^^^^^^^
217 severe: line 420, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.% ((nu m) → num) is not a subtype of double.% ((num) → double). 217 severe: line 420, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.% ((nu m) → num) is not a subtype of double.% ((num) → double).
218 class JSDouble extends JSNumber implements double { 218 class JSDouble extends JSNumber implements double {
219 ^^^^^^^^^^^^^^^^ 219 ^^^^^^^^^^^^^^^^
220 severe: line 420, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.sign ( () → num) is not a subtype of double.sign (() → double). 220 severe: line 420, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.sign ( () → num) is not a subtype of double.sign (() → double).
221 class JSDouble extends JSNumber implements double { 221 class JSDouble extends JSNumber implements double {
222 ^^^^^^^^^^^^^^^^ 222 ^^^^^^^^^^^^^^^^
223 warning: line 14, column 47 of dart:_interceptors/js_string.dart: [AnalyzerMessa ge] Classes cannot implement 'String' 223 severe: line 14, column 47 of dart:_interceptors/js_string.dart: [AnalyzerMessag e] Classes cannot implement 'String'
224 class JSString extends Interceptor implements String, JSIndexable { 224 class JSString extends Interceptor implements String, JSIndexable {
225 ^^^^^^ 225 ^^^^^^
226 warning: line 86, column 14 of dart:_interceptors/js_string.dart: [DownCastCompo site] JS('JSExtendableArray', r'#.split(#)', this, pattern) (dynamic) will need runtime check to cast to type List<String> 226 warning: line 86, column 14 of dart:_interceptors/js_string.dart: [DownCastCompo site] JS('JSExtendableArray', r'#.split(#)', this, pattern) (dynamic) will need runtime check to cast to type List<String>
227 return JS('JSExtendableArray', r'#.split(#)', this, pattern); 227 return JS('JSExtendableArray', r'#.split(#)', this, pattern);
228 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 228 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
229 warning: line 89, column 14 of dart:_interceptors/js_string.dart: [DownCastCompo site] JS('JSExtendableArray', r'#.split(#)', this, re) (dynamic) will need runti me check to cast to type List<String> 229 warning: line 89, column 14 of dart:_interceptors/js_string.dart: [DownCastCompo site] JS('JSExtendableArray', r'#.split(#)', this, re) (dynamic) will need runti me check to cast to type List<String>
230 return JS('JSExtendableArray', r'#.split(#)', this, re); 230 return JS('JSExtendableArray', r'#.split(#)', this, re);
231 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 231 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
232 severe: line 346, column 7 of dart:_interceptors/js_string.dart: [StaticTypeErro r] Type check failed: s += s (String) is not of type JSString 232 severe: line 346, column 7 of dart:_interceptors/js_string.dart: [StaticTypeErro r] Type check failed: s += s (String) is not of type JSString
233 s += s; 233 s += s;
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 ^^^^^^^^^^^^^ 1143 ^^^^^^^^^^^^^
1144 severe: line 134, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'MethodMirror.isSetter', getter 'MethodMirror.isCons tructor', getter 'MethodMirror.isConstConstructor', getter 'MethodMirror.isAbstr act' and 17 more 1144 severe: line 134, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'MethodMirror.isSetter', getter 'MethodMirror.isCons tructor', getter 'MethodMirror.isConstConstructor', getter 'MethodMirror.isAbstr act' and 17 more
1145 class JsMethodMirror implements MethodMirror { 1145 class JsMethodMirror implements MethodMirror {
1146 ^^^^^^^^^^^^^^ 1146 ^^^^^^^^^^^^^^
1147 severe: line 61, column 35 of dart:_js_mirrors: [AnalyzerMessage] The argument t ype 'void' cannot be assigned to the parameter type 'Object' 1147 severe: line 61, column 35 of dart:_js_mirrors: [AnalyzerMessage] The argument t ype 'void' cannot be assigned to the parameter type 'Object'
1148 return new JsInstanceMirror._(field); 1148 return new JsInstanceMirror._(field);
1149 ^^^^^ 1149 ^^^^^
1150 warning: line 171, column 10 of dart:mirrors: [DownCastImplicit] (tm as ClassMir ror).originalDeclaration (TypeMirror) will need runtime check to cast to type Cl assMirror 1150 warning: line 171, column 10 of dart:mirrors: [DownCastImplicit] (tm as ClassMir ror).originalDeclaration (TypeMirror) will need runtime check to cast to type Cl assMirror
1151 return (tm as ClassMirror).originalDeclaration; 1151 return (tm as ClassMirror).originalDeclaration;
1152 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1152 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OLDNEW
« no previous file with comments | « test/report_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698