commit | 98c55169c255f591b7007ef49de29b0b2ddf1eeb | [log] [tgz] |
---|---|---|
author | spoon@google.com <spoon@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Fri Dec 18 18:24:21 2009 +0000 |
committer | spoon@google.com <spoon@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Fri Dec 18 18:24:21 2009 +0000 |
tree | cb3a24f5300a06e1ae12457f107130477236d8b4 | |
parent | beed963ee2e335d1ee096435d279f535185e54bb [diff] |
When SameParameterValueOptimizer substitutes a value for a parameter, it now casts the value to the type of the parameter. This prevents, for example, treating an integer as a long. Review by: scottb git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7338 8db76d5a-ed1c-0410-87a9-c151d255dfc7