-
I'm experimenting with Vector and keep running into the E100 error for expressions similar to:
I understand the need to check that
That should mean that, by the time it gets to So why is Vector throwing that E100 error? Thanks in advance. :) FYI, I'm testing by manually running the binary downloaded today on an Ubuntu 22.04 vagrant vm. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jerrac ! The issue is that the compiler isn't smart enough to realize that |
Beta Was this translation helpful? Give feedback.
Hi @jerrac !
The issue is that the compiler isn't smart enough to realize that
.gauge.value
is a float at the point where that comparison is done. You'll need to wrap it infloat!(.gauge.value)
. #91 is tracking this as an enhancement.