atlassian / atlassian/sourcemap
Bug with decoding of mappings with symbols
- Dominant language
- Java
- Stars
- 25
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
In Consumer.java, line 207...
...
case 5:
// A mapped section of the generated file, that has an associated
// name.
sourceFileNameIndex = vals[1] + previousSrcId;
sourceFileName = sourceFileNames.get(sourceFileNameIndex);
sourceSymbolNameIndex = vals[4] + previousNameId;
sourceSymbolName = sourceSymbolNames.get(sourceFileNameIndex);
```
entry = new MappingImpl(
generatedLine,
vals[0] + previousCol,
vals[2] + previousSrcLine,
```
...
sourceSymbolName is being calculated incorrectly. The line should read
sourceSymbolName = sourceSymbolNames.get(sourceSymbolNameIndex );
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.