Index: sdk/lib/io/directory_impl.dart |
diff --git a/sdk/lib/io/directory_impl.dart b/sdk/lib/io/directory_impl.dart |
index 0f81fe27c2bed12ea8465f48cc38132229464b4c..ac048de8887557c774eb7815f9c9eeab6341dbf5 100644 |
--- a/sdk/lib/io/directory_impl.dart |
+++ b/sdk/lib/io/directory_impl.dart |
@@ -192,7 +192,7 @@ class _Directory extends FileSystemEntity implements Directory { |
return _IOService.dispatch(_DIRECTORY_CREATE_SYSTEM_TEMP, |
[template]).then((response) { |
if (response is List && response[0] != _SUCCESS_RESPONSE) { |
- throw new Directory(template)._exceptionOrErrorFromResponse( |
+ throw new _Directory(template)._exceptionOrErrorFromResponse( |
response, "Creation of temporary directory failed"); |
} |
return new Directory(response); |