Skip to content
Browse files

Fix issues blocking the JSCompiler release

Most of these consist of
- invalid type casts
- function declarations in 'if' blocks, which are forbidden in
future versions of JS
- bad generic types

DELTA=2 (2 added, 0 deleted, 0 changed)

Revision created by MOE tool push_codebase.

git-svn-id: 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
  • Loading branch information...
1 parent fd425b7 commit d83581d02a1adb1efafb37841f40b90d095e08b1 committed Feb 5, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 closure/goog/db/error.js
2 closure/goog/db/error.js
@@ -340,6 +340,8 @@ goog.db.Error.fromRequest = function(request, message) {
* @param {!IDBDatabaseException} ex The exception that was thrown.
* @param {string} message The error message to add to err if it's wrapped.
* @return {!goog.db.Error} The error that caused the failure.
+ * @suppress {invalidCasts} The cast from IDBDatabaseException to DOMError
+ * is invalid and will not compile.
goog.db.Error.fromException = function(ex, message) {
if ('name' in ex) {

0 comments on commit d83581d

Please sign in to comment.
Something went wrong with that request. Please try again.