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