Microsoft/TypeScript — pull request #651 by JsonFreeman (2014-09-10 23:47:15+00:00)
Title: Add asserts for bounds on diagnostics

I have encountered a couple of cases where the error spans have negative length. Adding asserts so that we can track down these cases.