3 ms·
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 y
by demarq 9y ago
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.
- nrc 9y agoThis 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 9y agomy bad, in a new project it works just fine. I'll keep investigating.