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

Unified Diff: tests/language/type_promotion_functions_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 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
Index: tests/language/type_promotion_functions_test.dart
diff --git a/tests/language/type_promotion_functions_test.dart b/tests/language/type_promotion_functions_test.dart
index bcf12b3c4389b0961cc9cdb5bbf7bc66ab687862..c9caf0359aa9bdb9abf2336924d8605a86434a12 100644
--- a/tests/language/type_promotion_functions_test.dart
+++ b/tests/language/type_promotion_functions_test.dart
@@ -35,13 +35,13 @@ testFuncAtoDyn() {
FuncAtoDyn funcAtoDyn = func;
a = funcAtoDyn(new A());
b = funcAtoDyn(new B());
- c = funcAtoDyn(new C()); /// 01: static type warning
+ c = funcAtoDyn(new C()); //# 01: static type warning
if (funcAtoDyn is FuncDynToDyn) {
// No promotion: FuncDynToDyn !<< FuncAtoDyn.
a = funcAtoDyn(new A());
b = funcAtoDyn(new B());
- c = funcAtoDyn(new C()); /// 11: static type warning
+ c = funcAtoDyn(new C()); //# 11: static type warning
}
}
@@ -54,28 +54,28 @@ testFuncDynToDyn() {
if (funcDynToDyn is FuncAtoDyn) { // Promotion: FuncAtoDyn << FuncDynToDyn.
a = funcDynToDyn(new A());
b = funcDynToDyn(new B());
- c = funcDynToDyn(new C()); /// 09: static type warning
+ c = funcDynToDyn(new C()); //# 09: static type warning
}
if (funcDynToDyn is FuncDynToVoid) {
// Promotion: FuncDynToVoid << FuncDynToDyn.
- a = funcDynToDyn(new A()); /// 12: static type warning
- b = funcDynToDyn(new B()); /// 13: static type warning
- c = funcDynToDyn(new C()); /// 14: static type warning
+ a = funcDynToDyn(new A()); //# 12: static type warning
+ b = funcDynToDyn(new B()); //# 13: static type warning
+ c = funcDynToDyn(new C()); //# 14: static type warning
}
if (funcDynToDyn is FuncDynToA) { // Promotion: FuncDynToA << FuncDynToDyn.
a = funcDynToDyn(new A());
b = funcDynToDyn(new B());
- c = funcDynToDyn(new C()); /// 10: static type warning
+ c = funcDynToDyn(new C()); //# 10: static type warning
}
}
testFuncDynToVoid() {
FuncDynToVoid funcDynToVoid = func;
- a = funcDynToVoid(new A()); /// 02: static type warning
- b = funcDynToVoid(new B()); /// 03: static type warning
- c = funcDynToVoid(new C()); /// 04: static type warning
+ a = funcDynToVoid(new A()); //# 02: static type warning
+ b = funcDynToVoid(new B()); //# 03: static type warning
+ c = funcDynToVoid(new C()); //# 04: static type warning
if (funcDynToVoid is FuncDynToDyn) {
// Promotion: FuncDynToDyn << FuncDynToVoid.
@@ -87,7 +87,7 @@ testFuncDynToVoid() {
if (funcDynToVoid is FuncDynToA) { // Promotion: FuncDynToA << FuncDynToVoid.
a = funcDynToVoid(new A());
b = funcDynToVoid(new B());
- c = funcDynToVoid(new C()); /// 05: static type warning
+ c = funcDynToVoid(new C()); //# 05: static type warning
}
}
@@ -95,19 +95,19 @@ testFuncDynToA() {
FuncDynToA funcDynToA = func;
a = funcDynToA(new A());
b = funcDynToA(new B());
- c = funcDynToA(new C()); /// 06: static type warning
+ c = funcDynToA(new C()); //# 06: static type warning
if (funcDynToA is FuncDynToDyn) {
// No promotion: FuncDynToDyn !<< FuncDynToA.
a = funcDynToA(new A());
b = funcDynToA(new B());
- c = funcDynToA(new C()); /// 08: static type warning
+ c = funcDynToA(new C()); //# 08: static type warning
}
if (funcDynToA is FuncDynToVoid) {
// No promotion: FuncDynToVoid !<< FuncDynToA.
a = funcDynToA(new A());
b = funcDynToA(new B());
- c = funcDynToA(new C()); /// 07: static type warning
+ c = funcDynToA(new C()); //# 07: static type warning
}
}

Powered by Google App Engine
This is Rietveld 408576698