actually compile functions when resolving their implementation
Merge pull request #1424 from crate/m/compile_scalar

actually compile functions when resolving their implementation