fix srcloc-missing-from-exn bug in struct/dc