Skip to content

Instantly share code, notes, and snippets.

@azhuox

azhuox/block2.go Secret

Created December 1, 2020 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azhuox/d86f6b1d85e6194d2617ea5fe6b290b1 to your computer and use it in GitHub Desktop.
Save azhuox/d86f6b1d85e6194d2617ea5fe6b290b1 to your computer and use it in GitHub Desktop.
package main
func main() {
var _ = (*bool)(nil) == (*string)(nil) // compiler error: mismatched types.
var _ = chan int(nil) == chan bool(nil) // compiler error: mismatched types.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment