blob: 5ff0b4218c6de5ed3e8e73cdb3e9cf256589b1c2 [file] [log] [blame]
Matteo Scandoloabf872d2020-12-14 08:22:06 -10001// Copyright 2017, The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
David K. Bainbridge06631892021-08-19 13:07:00 +00003// license that can be found in the LICENSE file.
Matteo Scandoloabf872d2020-12-14 08:22:06 -10004
5// +build purego
6
7package cmp
8
9import "reflect"
10
11const supportExporters = false
12
David K. Bainbridge06631892021-08-19 13:07:00 +000013func retrieveUnexportedField(reflect.Value, reflect.StructField, bool) reflect.Value {
Matteo Scandoloabf872d2020-12-14 08:22:06 -100014 panic("no support for forcibly accessing unexported fields")
15}