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

Unified Diff: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java

Issue 26096002: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java
diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java
index bc9f1605ba282d0b292c1a40637c10f9e560f00e..5ffaf315b1eacdc636311614b6148eb5a4984728 100644
--- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java
+++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java
@@ -1578,7 +1578,7 @@ public class SemanticTest extends AbstractSemanticTest {
" final int test = 0;",
" void main() {",
" try {",
- " } catch (test) {",
+ " } on Exception catch (test) {",
" int v = this.test;",
" }",
" }",
@@ -1979,7 +1979,7 @@ public class SemanticTest extends AbstractSemanticTest {
getFormattedSource(unit));
}
- public void test_tryCatch_Exception() throws Exception {
+ public void test_tryCatch_Throwable() throws Exception {
setFileLines(
"test/Test.java",
toString(
@@ -1987,7 +1987,7 @@ public class SemanticTest extends AbstractSemanticTest {
"public class Test {",
" void main() {",
" try {",
- " } catch (Exception e) {",
+ " } catch (Throwable e) {",
" }",
"}"));
Context context = new Context();

Powered by Google App Engine
This is Rietveld 408576698