Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Fix issues blocking the JSCompiler release
Browse files Browse the repository at this point in the history
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.
MOE_MIGRATION=6260


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2507 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
  • Loading branch information
nicksantos@google.com committed Feb 5, 2013
1 parent fd425b7 commit d83581d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions closure/goog/db/error.js
Expand Up @@ -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) {
Expand Down

0 comments on commit d83581d

Please sign in to comment.