Index: tests/language_strong/async_throw_in_catch_test.dart |
diff --git a/tests/language_strong/async_throw_in_catch_test.dart b/tests/language_strong/async_throw_in_catch_test.dart |
index bbe49cfc02d7b65d1cd246332c48dfa029109fcc..f9a1a7b2d92e4235f720531909bb2b8f3131e039 100644 |
--- a/tests/language_strong/async_throw_in_catch_test.dart |
+++ b/tests/language_strong/async_throw_in_catch_test.dart |
@@ -32,7 +32,7 @@ foo1(Tracer tracer) async { |
tracer.trace("a"); |
// This await forces dart2js to rewrite the try into a state machine |
// instead of relying on the existing structure. |
- await new Future.value(3); /// forceAwait: ok |
+ await new Future.value(3); //# forceAwait: ok |
tracer.trace("b"); |
throw "Error"; |
} catch (error) { |
@@ -49,7 +49,7 @@ foo1(Tracer tracer) async { |
foo2(Tracer tracer) async { |
try { |
tracer.trace("a"); |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("b"); |
throw "Error"; |
tracer.trace("c"); |
@@ -66,7 +66,7 @@ foo2(Tracer tracer) async { |
foo3(Tracer tracer) async { |
try { |
tracer.trace("a"); |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("b"); |
throw "Error"; |
tracer.trace("c"); |
@@ -83,7 +83,7 @@ foo3(Tracer tracer) async { |
foo4(Tracer tracer) async { |
try { |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
} catch(error) { |
@@ -103,7 +103,7 @@ foo5(Tracer tracer) async { |
try { |
tracer.trace("a"); |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("b"); |
throw "Error"; |
} catch(error) { |
@@ -121,7 +121,7 @@ foo5(Tracer tracer) async { |
foo6(Tracer tracer) async { |
try { |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
} catch(error) { |
@@ -142,7 +142,7 @@ foo6(Tracer tracer) async { |
foo7(Tracer tracer) async { |
try { |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
} catch(error) { |
@@ -162,7 +162,7 @@ foo7(Tracer tracer) async { |
foo8(Tracer tracer) async { |
try { |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
} catch(error) { |
@@ -183,7 +183,7 @@ foo9(Tracer tracer) async { |
try { |
while(true) { |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
} catch(error) { |
@@ -213,7 +213,7 @@ foo10(Tracer tracer) async { |
} catch (error) { |
tracer.trace("b"); |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
throw "Error2"; |
} catch(error) { |
tracer.trace("c"); |
@@ -246,7 +246,7 @@ foo11(Tracer tracer) async { |
tracer.trace("a"); |
if (firstTime) { |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("b"); |
throw "Error"; |
} catch(error) { |
@@ -275,7 +275,7 @@ foo12(Tracer tracer) async { |
tracer.trace("a"); |
if (firstTime) { |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("b"); |
throw "Error"; |
} catch(error) { |
@@ -309,7 +309,7 @@ foo13(Tracer tracer) async { |
tracer.trace("c"); |
try { |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("d"); |
throw "Error"; |
} finally { |
@@ -333,7 +333,7 @@ foo14(Tracer tracer) async { |
} catch (error) { |
tracer.trace("b"); |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
throw "Error2"; |
} catch(error) { |
tracer.trace("c"); |
@@ -359,7 +359,7 @@ foo15(Tracer tracer) async { |
} catch (error) { |
tracer.trace("b"); |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
throw "Error2"; |
} catch(error) { |
tracer.trace("c"); |
@@ -386,7 +386,7 @@ foo16(Tracer tracer) async { |
} catch (error) { |
tracer.trace("b"); |
try { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
throw "Error2"; |
} catch(error) { |
tracer.trace("c"); |
@@ -413,7 +413,7 @@ foo17(Tracer tracer) async { |
tracer.trace("b"); |
throw "Error"; |
} catch (error) { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
Expect.equals("Error", error); |
tracer.trace("c"); |
} finally { |
@@ -431,7 +431,7 @@ foo18(Tracer tracer) async { |
try { |
tracer.trace("b"); |
} finally { |
- await new Future.value(3); /// forceAwait: continued |
+ await new Future.value(3); //# forceAwait: continued |
tracer.trace("c"); |
} |
tracer.trace("d"); |