Use default value
Add regression test case
Merge pull request #3265 from ke-yu/fix_magn5233

Fix magn5233: List.map returns function obejct in some caseseven when the function is completed