From d8da814249692caa877f34869c4e2d3c3e5207d2 Mon Sep 17 00:00:00 2001 From: nin-jin Date: Tue, 17 Oct 2023 15:36:47 +0300 Subject: [PATCH] Update span.ts --- span/span.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/span/span.ts b/span/span.ts index 13000cde9ba..f7f3f555dbc 100644 --- a/span/span.ts +++ b/span/span.ts @@ -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. */