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

Unified Diff: frog/file_system_node.dart

Issue 8937017: New CSS parser written in Dart to replace pyparser (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Put back for DartC Created 9 years 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: frog/file_system_node.dart
diff --git a/frog/file_system_node.dart b/frog/file_system_node.dart
index 6b611b7810e797e983c2ff55f9b47478ac1472be..958681f00d615e4c4d62c9c08851b3cb4aaefb82 100644
--- a/frog/file_system_node.dart
+++ b/frog/file_system_node.dart
@@ -43,7 +43,7 @@ class NodeFileSystem implements FileSystem {
throw 'Cannot create directory $path because $existing exists and ' +
'is not a directory.';
}
- } catch (e) {
+ } catch (var e) {
// Ugly hack. We only want to catch ENOENT exceptions from fs.statSync
// which means the path we're trying doesn't exist. Since this is coming
// from node, we can't check the exception's type.

Powered by Google App Engine
This is Rietveld 408576698