fix Issue 11982 - ICE(func.c) With function literal with no body
Merge pull request #3148 from 9rnsr/fix11982

Issue 11982 - ICE(func.c) With function literal with no body