Dictionary generation breaks on const members

target is here: Dictionary generation breaks on const members