Preserve name indices for duplicate names
Preserve name indices for duplicate names

Without this fix, ArraySet objects only added the first copy of a name
if the "names" array contained duplicates. This messed up indices into
the names array because the array was shorter than it should be. The
TypeScript compiler sometimes generates source maps with duplicate
names, causing a crash in SourceMapConsumer.

webcoding/source-map,ejpbruel/source-map,stealjs/source-map,ejpbruel/source-map,modulexcite/source-map,webcoding/source-map,bitovi/source-map,azakhary/source-map,spark/source-map,garysye/source-map,bitovi/source-map,meteor/source-map,garysye/source-map,modulexcite/source-map,spark/source-map,stealjs/source-map,azakhary/source-map