Fixes issue #493.
authorEhsan Nasiri <ehsann@google.com>
Tue, 17 Jan 2017 21:28:59 +0000 (16:28 -0500)
committerDavid Neto <dneto@google.com>
Wed, 18 Jan 2017 22:04:00 +0000 (17:04 -0500)
commiteb7d2534df92ff036dd3090bc60cc8476169fe3a
treee3582b43f15642f74609ea7fc1900da196cffb9f
parentd75bf5ef0366696241c216fb554a4808a0303fbd
Fixes issue #493.

Check function call operands and return type agree with the called
function type.

The validation code exists. I have fixed the unit tests.
test/val/val_id_test.cpp