Skip to content

Commit f8bf282

Browse files
committed
revert scribbles mistakenly added
1 parent 3de210e commit f8bf282

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/svelte/src/compiler/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export function compileModule(source, options) {
8282
* @returns {AST.Root}
8383
*/
8484

85-
// TODO 6.0 remove unused `filename`
8685
/**
8786
* The parse function parses a component, returning only its abstract syntax tree.
8887
*
@@ -95,6 +94,7 @@ export function compileModule(source, options) {
9594
* @returns {Record<string, any>}
9695
*/
9796

97+
// TODO 6.0 remove unused `filename`
9898
/**
9999
* The parse function parses a component, returning only its abstract syntax tree.
100100
*
@@ -123,8 +123,6 @@ export function parse(source, { modern, loose } = {}) {
123123
* @param {boolean | undefined} modern
124124
*/
125125
function to_public_ast(source, ast, modern) {
126-
/** @type {AST.Root} */
127-
const rrrrr = parse('hi', { modern: true }); // ensure that the modern AST is available
128126
if (modern) {
129127
const clean = (/** @type {any} */ node) => {
130128
delete node.metadata;

0 commit comments

Comments
 (0)