-
-
Save azhuox/d86f6b1d85e6194d2617ea5fe6b290b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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