Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

test: add failed pug tests #124

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

test: add failed pug tests #124

wants to merge 2 commits into from

Conversation

antfu
Copy link
Member

@antfu antfu commented Mar 16, 2022

Downstream issue: nuxt/bridge#11

@Shinigami92
Copy link
Contributor

Isn't this theoretically invalid? I think there is a missing v-else.
Currently if the condition would result in false there is no root-element in the component.
Not sure if it is statically analysed that it is always true in given example case.

@antfu
Copy link
Member Author

antfu commented Mar 16, 2022

The problem is that the parser does not understand pug, thus failing to parse <. You are talking about another thing that isn't the scope we should handle.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants