adding type locs (mingle, mingle-parser-tree pass)