Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/gc: go:nointerface pragma is undocumented #33737
The Go compiler has a pragma
As far as I can tell, it prevents a method from being used to satisfy an interface. However, I cannot find any (public) documentation on it.
Even https://golang.org/src/cmd/compile/internal/gc/lex.go, which has comments for the other pragmas, does not describe this one.