This code produces a SIGSEGV in the compiler:
type C = object
method m(o: C)
proc m(o: C) = discard
"m" is first declared as method (as forward declaration).
Then a proc "m" is declared (with same parameters).
Tested with Nim Devel from 2016-12-28 on Linux x64.