1`] = `
Object {
+ "cached": 0,
"children": Array [
Object {
"children": Array [
@@ -7478,6 +7569,7 @@ Object {
exports[`compiler: parse Errors X_MISSING_END_TAG
1`] = `
Object {
+ "cached": 0,
"children": Array [
Object {
"children": Array [
@@ -7551,6 +7643,7 @@ Object {
exports[`compiler: parse Errors X_MISSING_INTERPOLATION_END {{ 1`] = `
Object {
+ "cached": 0,
"children": Array [
Object {
"content": "{{",
@@ -7595,6 +7688,7 @@ Object {
exports[`compiler: parse Errors X_MISSING_INTERPOLATION_END {{ foo 1`] = `
Object {
+ "cached": 0,
"children": Array [
Object {
"content": "{{ foo",
@@ -7639,6 +7733,7 @@ Object {
exports[`compiler: parse Errors X_MISSING_INTERPOLATION_END {{}} 1`] = `
Object {
+ "cached": 0,
"children": Array [
Object {
"content": Object {
@@ -7700,6 +7795,7 @@ Object {
exports[`compiler: parse invalid html 1`] = `
Object {
+ "cached": 0,
"children": Array [
Object {
"children": Array [
@@ -7779,6 +7875,7 @@ Object {
exports[`compiler: parse self closing multiple tag 1`] = `
Object {
+ "cached": 0,
"children": Array [
Object {
"children": Array [],
@@ -7966,6 +8063,7 @@ Object {
exports[`compiler: parse valid html 1`] = `
Object {
+ "cached": 0,
"children": Array [
Object {
"children": Array [
diff --git a/packages/compiler-core/src/parse.ts b/packages/compiler-core/src/parse.ts
index 138fd2c5..3fdc1fff 100644
--- a/packages/compiler-core/src/parse.ts
+++ b/packages/compiler-core/src/parse.ts
@@ -98,7 +98,8 @@ export function parse(content: string, options: ParserOptions = {}): RootNode {
directives: [],
hoists: [],
codegenNode: undefined,
- loc: getSelection(context, start)
+ loc: getSelection(context, start),
+ cached: 0
}
}