Skip to content

Commit

Permalink
profiles: fix index in example (#254)
Browse files Browse the repository at this point in the history
For `abc;def` the `locations_start_index` should be `4` as `2` points to
`baz`.

Follow up of
#239 (comment)
  • Loading branch information
florianl committed May 28, 2024
1 parent 01c4239 commit 6d6febf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions text/profiles/0239-profiles-data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ sample:
locations_length: 3
value:
- 100
- locations_start_index: 2
- locations_start_index: 3
locations_length: 2
value:
- 200
Expand All @@ -1361,8 +1361,8 @@ location_indices:
- 0 # foo
- 1 # bar
- 2 # baz
- 4 # abc
- 5 # def
- 3 # abc
- 4 # def
location:
- line:
- function_index: 0 # foo
Expand Down

0 comments on commit 6d6febf

Please sign in to comment.