compiler: traverse types of constant expressions

We forgot to ever traverse types of constant expressions.  This rarely
makes a difference--evidently, since nobody noticed--but it does
matter when we inline constant expressions: we need to ensure that the
type is visible to the importing code.

Change-Id: Idd94374d58327658a0fa8305dd675814d2ea1882
Reviewed-by: Cherry Zhang <>
Reviewed-by: Than McIntosh <>
2 files changed