CacheExpression,
createCacheExpression
} from './ast'
-import { isString, isArray, NOOP } from '@vue/shared'
+import {
+ isString,
+ isArray,
+ NOOP,
+ PatchFlags,
+ PatchFlagNames
+} from '@vue/shared'
import { defaultOnError } from './errors'
import {
TO_STRING,
createCallExpression(helper(CREATE_BLOCK), [
helper(FRAGMENT),
`null`,
- root.children
+ root.children,
+ `${PatchFlags.UNKEYED_FRAGMENT} /* ${
+ PatchFlagNames[PatchFlags.UNKEYED_FRAGMENT]
+ } */`
]),
context
)