Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
demarq
· 9y ago · 0 comments
Autofix doesn't seem to trigger for me, would someone confirm it's not just me?
try this in your editor
let x = 4; if x = 5 {}
it should figure out you wanted x == 5.
Comments
[–]
nrc
9y ago
This should work (it's my goto test case). You have to put the cursor in the erroring code to see the possible fix icon in the margin. If you don't see it please file an issue with the project you're trying this in and I'll investigate.
[–]
demarq
OP
9y ago
my bad, in a new project it works just fine. I'll keep investigating.