Fix #300: Make literals have the same constants as their types.

Review by @DarkDimius