You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling IIFE inside of nested element does not work, as opposed to top level element.
<spanclass={(() =>'red')()}>span (red)</span>
^ get class="red" rendered
<div>
<spanclass={(() =>'red')()}>div > span (red)</span>
^ span does not have class attribute
</div>
Describe the bug
Calling IIFE inside of nested element does not work, as opposed to top level element.
This worked in 5.1.17, but regressed in 5.2.0.
Reproduction
https://svelte.dev/playground/8d35c2574e7a4a3bbd15a7578623535c?version=5.2.0
https://svelte.dev/playground/8d35c2574e7a4a3bbd15a7578623535c?version=5.1.17
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: