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

Ember 3.27.0 - Receiving "[BUG] seen set should be available" Error #91

Open
kiwi-josh opened this issue Jul 5, 2021 · 2 comments
Open

Comments

@kiwi-josh
Copy link

This usage works fine in ember 3.24:

{{#if-flag MY_CONDITIONAL}}
  <p>Hello World</p>
{{/if-flag}}

However is causing this error when after upgrading to ember 3.27:

Template Compiler Error (TemplateCompiler) in my-app/components/account-payments-page/prompt/template.hbs

Assertion Failed: [BUG] seen set should be available
@kiwi-josh
Copy link
Author

I accidentally closed this, so will reopen for visibility.

I worked around the issue by using macroCondition instead, but it isn't as succinct syntax, nor aggressive at removing deadcode:

i.e. changed from:

{{#if-flag MY_CONDITIONAL}}

to:

{{#if (macroCondition (macroGetOwnConfig "MY_CONDITIONAL"))}}

@kiwi-josh kiwi-josh reopened this Sep 23, 2022
@oscarni
Copy link
Contributor

oscarni commented Nov 17, 2022

Thanks for pointing out a workaround.

Seeing the same on 3.28, also with the latest master which looks to have ember 4.x work done on it.

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

No branches or pull requests

2 participants