swift
8bea3518 - [rbi] Remove highlights from errors.

Commit
61 days ago
[rbi] Remove highlights from errors. I have noticed over time when working on the command line, we often times highlight too large of an expression due to the locations provided to us by earlier parts of the compiler. This isn't technically necessary and the following doesn't look nice... so remove it. ``` test5.swift:171:16: error: sending 'x' risks causing data races [#SendingRisksDataRace] 169 | let _ = { 170 | nonescapingAsyncUse { @MainActor in 171 | _ _ _ _ _u_s_e_V_a_l_u_e_(_x_) | |- error: sending 'x' risks causing data races [#SendingRisksDataRace] | `- note: task-isolated 'x' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses 172 | } 173 | } ```
Author
Committer
Parents
Loading