mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
These were effectively unused since we almost always passed in null when creating errors, so remove them and instead pass in a `loc` explicitly. The downside is that we no longer will see Babel codeframes in our test fixtures, which doesn't seem like a huge loss