Add wrapper for passing constants through type inference
Merge pull request #9452 from JuliaLang/teh/val

Add wrapper for passing constants through type inference