\PlainSprintf doesn't check types
Open
hack
- Dominant language
- C++
- Stars
- 18.7k
- Forks
- 3.1k
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
Lots of 'mixed' here:
https://github.com/facebook/hhvm/blob/3a8b37a4c7b7cbc652998a721a688ca85abfa1a3/hphp/hack/hhi/printf.hhi
### HHVM Version
3.17
### Standalone code, or other way to reproduce the problem
`sprintf('%d', 'foo')`
### Expected resul
Typechecker error
### Actual result
Runtime error
Contributor guide
Assessment
This issue has not been assessed yet.