Fix fuzzer-discovered error with ~ prefix on literals.

The expression `~123` was making a PrefixExpression of type $intLiteral.
It should be converted to type `int` when the ~ prefix is applied.

This change also changes the output from oss-fuzz:27614. Both programs
are essentially nonsense expressions with no real behavior, so this is

Change-Id: I586be149ce95136fabee72fdd3473814d54948cf
Bug: oss-fuzz:31410
Commit-Queue: John Stiles <>
Auto-Submit: John Stiles <>
Reviewed-by: Brian Osman <>
9 files changed