Files
delve/_fixtures/testRestartRequestRebuildFailFixture.go
Alessandro Arzilli cfb04c4f81 service/dap: fix restart handling when compilation fails (#4215)
- 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
2025-12-08 14:52:27 -05:00

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
}