Skip to content

Commit

Permalink
Update span.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin authored Oct 17, 2023
1 parent a19edcd commit d8da814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion span/span.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace $ {

/** Makes new span for end of resource. */
static end( uri: string , source: string ) {
return new $mol_span( uri , source, 1 , source.length + 1 , length )
return new $mol_span( uri , source, 1 , source.length + 1 , 0 )
}

/** Makes new span for entire resource. */
Expand Down

0 comments on commit d8da814

Please sign in to comment.