get symbol and source path info from types, not symbol argument