We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff2e115 commit fdceb55Copy full SHA for fdceb55
dsl/dsl.go
@@ -206,6 +206,12 @@ type ExprType struct {
206
Size int
207
}
208
209
+// IdenticalTo applies types.Identical(this, v.Type) operation.
210
+// See https://golang.org/pkg/go/types/#Identical function documentation.
211
+//
212
+// Experimental: this function is not part of the stable API.
213
+func (ExprType) IdenticalTo(v Var) bool { return boolResult }
214
+
215
// Underlying returns expression type underlying type.
216
// See https://golang.org/pkg/go/types/#Type Underlying() method documentation.
217
// Read https://golang.org/ref/spec#Types section to learn more about underlying types.
0 commit comments