-
-
Notifications
You must be signed in to change notification settings - Fork 969
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
[BUG] evaluation of object expression fails in nested each loops #2691
Comments
Could you please create a simple demo demonstrating the issue? |
Sure. Is there a working skeletal riot 4 plnkr or something i could use? |
@dharmax try with this https://plnkr.co/edit/TfeSSYTCY40QDYG7mOst?p=preview |
here it is: https://next.plnkr.co/edit/Zfq7eNUCCmYpvIbP |
Ok I have found the issue, it's a compiler problem will fix it asap |
You're the best, pal :)
btw, i also suggested returning the "virtual" tag.
Also, would love to also see the "ref" special attribute too.
…On Tue, May 21, 2019 at 3:33 PM Gianluca Guarini ***@***.***> wrote:
Ok I have found the issue, it's a compiler problem will fix it asap
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2691?email_source=notifications&email_token=AAXZ5TTAZF5ADRO4K3ASCMDPWPTYJA5CNFSM4HN73YHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV3YFGA#issuecomment-494371480>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXZ5TW2A3L7C4PKLE7AHNLPWPTYJANCNFSM4HN73YHA>
.
|
Fixed in riot@4.0.0-rc.17. The problem wasn't in the loop directives but in the compiler: computed |
Hello!
i created a component with a nested loop:
An error was thrown, saying f was undefined.
Currently, i work around it, using a method:
and getField is simply returns i[f] and it works fine.
Can you reproduce the issue?
On which browser/OS does the issue appear?
i checked only on Chrome
Which version of Riot does it affect?
version 4.0.0.rc-14 (latest) and down.
The text was updated successfully, but these errors were encountered: