@@ -670,7 +670,7 @@ class _TreeBuilder {
670670 const span = new ParseSourceSpan ( token . sourceSpan . start , end , token . sourceSpan . fullStart ) ;
671671 // Create a separate `startSpan` because `span` will be modified when there is an `end` span.
672672 const startSpan = new ParseSourceSpan ( token . sourceSpan . start , end , token . sourceSpan . fullStart ) ;
673- const block = new html . Block ( token . parts [ 0 ] , parameters , [ ] , span , startSpan ) ;
673+ const block = new html . Block ( token . parts [ 0 ] , parameters , [ ] , span , token . sourceSpan , startSpan ) ;
674674 this . _pushContainer ( block , false ) ;
675675 }
676676
@@ -700,7 +700,7 @@ class _TreeBuilder {
700700 const span = new ParseSourceSpan ( token . sourceSpan . start , end , token . sourceSpan . fullStart ) ;
701701 // Create a separate `startSpan` because `span` will be modified when there is an `end` span.
702702 const startSpan = new ParseSourceSpan ( token . sourceSpan . start , end , token . sourceSpan . fullStart ) ;
703- const block = new html . Block ( token . parts [ 0 ] , parameters , [ ] , span , startSpan ) ;
703+ const block = new html . Block ( token . parts [ 0 ] , parameters , [ ] , span , token . sourceSpan , startSpan ) ;
704704 this . _pushContainer ( block , false ) ;
705705
706706 // Incomplete blocks don't have children so we close them immediately and report an error.
0 commit comments