mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
Thanks to @bailsman for providing first insight, in addition to raising the issue. Fixes #1342.
13 lines
120 B
Go
13 lines
120 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
var a interface{}
|
|
a = "a"
|
|
fmt.Println(a, a == "a")
|
|
}
|
|
|
|
// Output:
|
|
// a true
|