github.com/switchupcb/yaegi@v0.10.2/_test/redeclaration-global2.go (about)

     1  package main
     2  
     3  import (
     4  	"time"
     5  	"time"
     6  )
     7  
     8  func main() {
     9  	var t time.Time
    10  	println(t.String())
    11  }
    12  
    13  // Error:
    14  // ../_test/redeclaration-global2.go:5:2: time/redeclaration-global2.go redeclared in this block