1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:44:45 -07:00
go/go/ssa/identical.go
Spencer Nelson 2a5864fcfb x/tools/go/ssa: Accept struct conversions that ignore tags
This is now allowed in go1.8.

Fixes golang/go#19646.

Change-Id: Iece4fd2a881144bdbe841e0a26ba4348d6b8828e
Reviewed-on: https://go-review.googlesource.com/38452
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-06-02 20:57:42 +00:00

8 lines
102 B
Go

// +build go1.8
package ssa
import "go/types"
var structTypesIdentical = types.IdenticalIgnoreTags