Closed
Description
Is it by design, or in anyway intended that the following cuddled statements inside the anonymous function are not hit by wsl
?
package main
import "fmt"
func main() {
fmt.Println(func () error {
foo:="bar"
fmt.Println("Just a statement")
if foo == "bar" {
return fmt.Errorf("bar")
}
return nil
}())
}