aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio B <kandinsky454@protonmail.ch>2019-01-10 18:15:19 +0800
committerGitHub <noreply@github.com>2019-01-10 18:15:19 +0800
commitd7df402c42f7964bd31a765f5ec92a40179b69d7 (patch)
tree3c2f3908f5254ac6b4e896bb07f98aef5ef279c9
parent052ed21e9ccc909d981ea61ff29fc845bd976dc0 (diff)
downloaddexon-sol-tools-d7df402c42f7964bd31a765f5ec92a40179b69d7.tar
dexon-sol-tools-d7df402c42f7964bd31a765f5ec92a40179b69d7.tar.gz
dexon-sol-tools-d7df402c42f7964bd31a765f5ec92a40179b69d7.tar.bz2
dexon-sol-tools-d7df402c42f7964bd31a765f5ec92a40179b69d7.tar.lz
dexon-sol-tools-d7df402c42f7964bd31a765f5ec92a40179b69d7.tar.xz
dexon-sol-tools-d7df402c42f7964bd31a765f5ec92a40179b69d7.tar.zst
dexon-sol-tools-d7df402c42f7964bd31a765f5ec92a40179b69d7.zip
Update packages/sol-trace-based-tools-common/src/source_maps.ts
Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
-rw-r--r--packages/sol-trace-based-tools-common/src/source_maps.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-trace-based-tools-common/src/source_maps.ts b/packages/sol-trace-based-tools-common/src/source_maps.ts
index 7191fb712..af0fb4035 100644
--- a/packages/sol-trace-based-tools-common/src/source_maps.ts
+++ b/packages/sol-trace-based-tools-common/src/source_maps.ts
@@ -12,7 +12,7 @@ export interface SourceLocation {
}
/**
- * Receives a string with newlines and returns a hash of byte offset to LineColumn
+ * Receives a string with newlines and returns a map of byte offset to LineColumn
* @param str A string to process
*/
export function getLocationByOffset(str: string): LocationByOffset {