Skip to content

Commit

Permalink
Fix TODO in SourceMapConsumerV3, as the GWT version of SourceMapObjec…
Browse files Browse the repository at this point in the history
…t does return extensions.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=128538222
  • Loading branch information
thorogood authored and blickly committed Jul 27, 2016
1 parent 024d7ff commit 4487c17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/google/debugging/sourcemap/SourceMapConsumerV3.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ void parse(SourceMapObject sourceMapObject, SourceMapSupplier sectionSupplier)
lines = new ArrayList<>();
}

// TODO(thorogood): Note that when compiled with GWT, this may not contain anything.
// The value type of each extension is the native JSON type (e.g. JsonObject, or JSONObject
// when compiled with GWT).
extensions.putAll(sourceMapObject.getExtensions());
new MappingBuilder(sourceMapObject.getMappings()).build();
}
Expand Down

0 comments on commit 4487c17

Please sign in to comment.