mirror of
https://github.com/go-delve/delve.git
synced 2026-03-13 09:32:11 +08:00
- always send the restart response message, it's just an acknowledgment and if it isn't sent VSCode will wedge itself (even if an error is sent instead). - if Restart errors after detaching from the target process also send a terminated event. Fixes #4213
13 lines
146 B
Go
13 lines
146 B
Go
package main
|
|
|
|
import "math"
|
|
|
|
var f = 1.5
|
|
|
|
func main() {
|
|
floatvar1 := math.Floor(f)
|
|
floatvar2 := float64(int(f))
|
|
_ = floatvar1
|
|
_ = floatvar2
|
|
}
|