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

Unified Diff: test/checker/checker_test.dart

Issue 1059873002: Tweaks to warning level and reporting (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix up tests Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/report.dart ('k') | test/checker/inferred_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/checker/checker_test.dart
diff --git a/test/checker/checker_test.dart b/test/checker/checker_test.dart
index a1fd44595eb9649ce64d088d84bf7a907c00d6a2..f038857b61d49941cc4617b67e3e3ea47bd7099b 100644
--- a/test/checker/checker_test.dart
+++ b/test/checker/checker_test.dart
@@ -29,7 +29,7 @@ void main() {
}
void bar(a) {
- foo(/*info:DynamicCast,warning:DynamicInvoke*/a.x);
+ foo(/*info:DynamicCast,info:DynamicInvoke*/a.x);
}
typedef DynFun(x);
@@ -40,24 +40,24 @@ void main() {
void main() {
var a = new A();
bar(a);
- (/*warning:DynamicInvoke*/bar1(a));
+ (/*info:DynamicInvoke*/bar1(a));
var b = bar;
- (/*warning:DynamicInvoke*/b(a));
+ (/*info:DynamicInvoke*/b(a));
var f1 = foo;
f1("hello");
dynamic f2 = foo;
- (/*warning:DynamicInvoke*/f2("hello"));
+ (/*info:DynamicInvoke*/f2("hello"));
DynFun f3 = foo;
- (/*warning:DynamicInvoke*/f3("hello"));
- (/*warning:DynamicInvoke*/f3(42));
+ (/*info:DynamicInvoke*/f3("hello"));
+ (/*info:DynamicInvoke*/f3(42));
StrFun f4 = foo;
f4("hello");
a.baz1("hello");
var b1 = a.baz1;
- (/*warning:DynamicInvoke*/b1("hello"));
+ (/*info:DynamicInvoke*/b1("hello"));
A.baz2("hello");
var b2 = A.baz2;
- (/*warning:DynamicInvoke*/b2("hello"));
+ (/*info:DynamicInvoke*/b2("hello"));
'''
});
});
@@ -1852,7 +1852,7 @@ void main() {
a = a & b;
a = a ^ b;
a = a | b;
- c = (/*pass should be warning:DynamicInvoke*/c + b);
+ c = (/*pass should be info:DynamicInvoke*/c + b);
}
'''
});
@@ -1922,7 +1922,7 @@ void main() {
a &= b;
a ^= b;
a |= b;
- (/*warning:DynamicInvoke*/c += b);
+ (/*info:DynamicInvoke*/c += b);
}
'''
});
« no previous file with comments | « lib/src/report.dart ('k') | test/checker/inferred_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698