Hi,
I'm in the middle of brute-force refactoring. Nothing elegant, just changing a concrete type to an interface and fixing the compiler errors as I go.
Unfortunately, I get this panic from the compiler:
hardware/vcs.go:242:2: internal compiler error: panic: interface conversion: types.Object is nil, not *ir.Name
Please file a bug report including a short program that triggers the error.
The line it's reporting on is the last entry of const block, which seems odd.
const (
ntscClock = 1.193182
palClock = 1.182298
palMClock = 1.191870
secamClock = 1.187500
)
If I remove the constants then the panic moves to another location. Either way, this shouldn't be happening.
Without knowing exactly what's going on, I would imagine it's very difficult to write a short program that triggers the error.
How should I proceed with regards to a bug report?
Regards
Stephen