11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ci// Compile with `tsc --inlineSourceMap benchmark/fixtures/simple-error-stack.ts`. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciconst lorem = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'; 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_cifunction simpleErrorStack() { 81cb0ef41Sopenharmony_ci try { 91cb0ef41Sopenharmony_ci (lorem as any).BANG(); 101cb0ef41Sopenharmony_ci } catch (e) { 111cb0ef41Sopenharmony_ci return e.stack; 121cb0ef41Sopenharmony_ci } 131cb0ef41Sopenharmony_ci} 141cb0ef41Sopenharmony_ci 151cb0ef41Sopenharmony_ciexport { 161cb0ef41Sopenharmony_ci simpleErrorStack, 171cb0ef41Sopenharmony_ci}; 18