src/test/scripts/suite/semantic/template/basic.js
// Same call-site in function
Same call-site in function
Same call - site in function
function templInFunctionWithLoop() {
  const id = x => x;
  let r = [];
  for (let i = 0; i < 2; ++i) {
    r.push(id``);
  }
  assertSame(2, r.length);
  assertSame(r[0], r[1]);
}
function templInFunctionWithLoop ( ) { const id = x => x ; let r = [ ] ; for ( let i = 0 ; i < 2 ; ++ i ) { r . push ( id ` ` ) ; } assertSame ( 2 , r . length ) ; assertSame ( r [ 0 ] , r [ 1 ] ) ; }
Same call-site in function
Same call - site in function