Fix: a minor bug in handling enumeration in return statement;
Fix: a minor bug in handling parssing errors in return statement;
Fix: a minor bug in handling automatic cast of tuple types.