chore: fix hoistStatic exhaustive check

This commit is contained in:
Evan You
2020-02-14 16:41:55 -05:00
parent 96605b79a3
commit 66b5f0b480
2 changed files with 4 additions and 0 deletions

View File

@@ -597,6 +597,9 @@ function genNode(node: CodegenNode | symbol | string, context: CodegenContext) {
break
/* istanbul ignore next */
case NodeTypes.IF_BRANCH:
// noop
break
default:
if (__DEV__) {
assert(false, `unhandled codegen node type: ${(node as any).type}`)