-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
1. What is a short input program that triggers the error? package main type I interface { F() } type T struct{} func (T) F() {} func main() { switch I(T{}).(type) { // line 10 case interface{}: // do nothing } } 2. What is the full compiler output? missed typecheck [99fcd28] . LITERAL-B1 u(1) a(1) l(10) x(-1000000000) ideal bool TestGo.go:10: internal compiler error: missed typecheck 3. What version of the compiler are you using? (Run it with the -V flag.) 8g version 5338
Attachments:
- TestGo.go (151 bytes)