When replacing a field reference with a nullField reference, override the type of the reference
to be the original type.  This is important if the original type was a primitive type, because
otherwise the nullField would be of type null and thus incompatible with a primitive type.

Review by: scottb

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2986 8db76d5a-ed1c-0410-87a9-c151d255dfc7
3 files changed