adds build spec
bug-fixes: result type evaluation at function literal