Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(template-compiler) Using multiple if:true|false directives on same tag should be a compile-time error [API versioning] #3320

Open
Tracked by #2964
nolanlawson opened this issue Jan 24, 2023 · 2 comments

Comments

@nolanlawson
Copy link
Collaborator

See #3277.

<template if:true={foo} if:false={bar}></template>

This should be a compile-time error. However, this would have backwards-compatibility concerns.

@nolanlawson
Copy link
Collaborator Author

nolanlawson commented Apr 7, 2023

This also gives a pretty misleading warning message today:

Screen Shot 2023-04-07 at 8 41 21 AM

Copy link

git2gus bot commented Dec 10, 2024

This issue has been linked to a new work item: W-17406533

@nolanlawson nolanlawson changed the title (template-compiler) Using multiple if:true|false directives on same tag should be a compile-time error (template-compiler) Using multiple if:true|false directives on same tag should be a compile-time error [API versioning] Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant