Adding a ref var future where initializing a ref var with a casted
variable results in an internal error during function resolution.
Merge pull request #921 from sungeunchoi/test

Adding a ref var future where initializing a ref var with a casted variable results in an internal error during function resolution.