在将一个对象(type1)成员复制到另一个对象(type2)成员的过程中进入以下场景:
package main
import "fmt"
type SomeType string
func main() {
source := SomeType("abc")
dest := string(source) // this works
fmt.Println(dest)
}
Run Code Online (Sandbox Code Playgroud)
对于这种类型转换(string(source)),应用了 Go 规范中的哪个规则,以转换为基础类型?