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

Unified Diff: dart/frog/leg/ssa/builder.dart

Issue 9549002: For reasons beyond logic, null matches any exception type. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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 | « no previous file | dart/frog/leg/ssa/codegen.dart » ('j') | dart/frog/leg/ssa/codegen.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/ssa/builder.dart
diff --git a/dart/frog/leg/ssa/builder.dart b/dart/frog/leg/ssa/builder.dart
index cffadd05bb0aadf001ff35a9b91f42ff966648c9..9db538b274b2a99adeeb0344025f2d09cbd55fff 100644
--- a/dart/frog/leg/ssa/builder.dart
+++ b/dart/frog/leg/ssa/builder.dart
@@ -2298,7 +2298,7 @@ class SsaBuilder implements Visitor {
if (typeElement == null) {
compiler.cancel('Catch with unresolved type', node: catchBlock);
}
- condition = new HIs(typeElement, unwrappedException);
+ condition = new HIs(typeElement, unwrappedException, nullOk: true);
push(condition);
}
}
« no previous file with comments | « no previous file | dart/frog/leg/ssa/codegen.dart » ('j') | dart/frog/leg/ssa/codegen.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698