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. */