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
Even though delve is showing the difference between nil slices, and zero-len/zero-cap slices, the VSCode interface to the debugger is not doing so, and I appear to have the recent 0.11.7 release.
I also only have a single dlv.exe on my system of ver 1.2.0
Delve showning nil vs zero-len/zero-cap slice
VScode Go extension not showing the difference
Test code:
package main
import"fmt"funcmain() {
varx []stringy:=[]string{}
fmt.Println(x,y)
}
Even though delve is showing the difference between nil slices, and zero-len/zero-cap slices, the VSCode interface to the debugger is not doing so, and I appear to have the recent 0.11.7 release.
I also only have a single dlv.exe on my system of ver 1.2.0
Delve showning nil vs zero-len/zero-cap slice

VScode Go extension not showing the difference

Test code: