-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
#if goes to :else even if condition evaluates to true #4318
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
Comments
If I replace the This is the source code for LoadMsg :
|
Can you save a complete reproduction in the REPL and link to it? |
Unfortunately not. It works as expected in the repl. I wrote my code in another way, splitting the |
I believe this is the same behavior as seen in #4263 with perhaps a different repro. |
Yes my store value has methods and it seems the tracking of values is lost when I add a custom component in the else section. |
I can confirm I've seen this, but am also unable to reproduce it. I've ended up just writing the code in a different way. I call it Schrodinger's variable. The store value is false outside an if, but if you log it inside the if, it is true. It's a tough one to track down. |
closing as outdated and without repro |
Yep ! |
Uh oh!
There was an error while loading. Please reload this page.
[email protected]
Hi,
I have this code
The result is
But if I write this instead:
Then the result will be
I do not know where to start to debug this. I think it may be a bug.
The text was updated successfully, but these errors were encountered: