[compiler] Improve display of errors on multi-line expressions (#34963)
When a longer function or expression is identified as the source of an error, we currently print the entire expression in our error message. This is because we delegate to a Babel helper to print codeframes. Here, we add some checking and abbreviate the result if it spans too many lines.
J
Joseph Savona committed
408b38ef7304faf022d2a37110c57efce12c6bad
Parent: 09056ab
Committed by GitHub <[email protected]>
on 10/23/2025, 6:30:28 PM