resolve references to inherited constants