Skip to content

Instantly share code, notes, and snippets.

@azhuox

azhuox/block3.go Secret

Created December 1, 2020 04:35
Embed
What would you like to do?
package main
func main() {
var _ = ([]string)(nil) == ([]string)(nil) // compiler error: invalid operation.
var sb = (map[string]bool)(nil) == (map[string]bool)(nil) // compiler error: invalid operation.
var _ = (func())(nil) == (func())(nil) // compiler error: invalid operation.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment