Elegantbeef helped me out to determine a smaller actual MRE.
macro DefineAndInstance =
genast():
type MyObject = object
var myParams* = MyObject()
Run
Error
inconsistent typing for reintroduced symbol 'myParams`gensym1': previous
type was: object; new type is: object
Run
The solution is... Don't use `expandMacros` and the error goes away.
