Skip to content

Commit

Permalink
Disallow extending Map.
Browse files Browse the repository at this point in the history
The one Google project that extended Map has fixed its code.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139522732
  • Loading branch information
brad4d authored and blickly committed Nov 18, 2016
1 parent c215a7d commit 9df8eea
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -373,8 +373,7 @@ private boolean isUnextendableNativeClass(NodeTraversal t, String className) {
case "Int32Array":
case "Int8Array":
case "InternalError":
// TODO(bradfordcsmith): Disallow Map again when client code is fixed.
// case "Map":
case "Map":
case "Number":
case "Promise":
case "Proxy":
Expand Down

0 comments on commit 9df8eea

Please sign in to comment.