Join Slack
Powered by
Is there a way to tell compiler my computed proper...
# getting-started
u
ursus
07/09/2025, 3:01 PM
Is there a way to tell compiler my computed property is "stable" so it can smart cast after a
is
check (without capturing to a local variable)? (Because it is in practise) .. contracts maybe?
m
Michael Krussel
07/09/2025, 3:53 PM
I don't think there is now. But the new work they are planning for immutability should allow it.
https://youtu.be/qpM3_ymNkP8?feature=shared
▾
👍 1
Open in Slack
Previous
Next