~/talk

The Journey of a Dotty Diagnostic

Talkat ScalaIO 2022 · 2022-10-27..10-28· [developer-experience]
slides:none on file

Argues Dotty needs structured diagnostics not just strings and shows concrete work: add a diagnostic code and a data field to the sbt/zinc/BSP/LSP chain so compilers (dotc), build tools (sbt, Mill, Bloop), and Metals carry machine‑readable info to editors. Demonstrates a Scala CLI quick‑fix that updates a using directive and a prototype error‑code index; one new field requires many repo updates but the code shows up in editors now and related info/fixes are in progress.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23What is a diagnostic
  3. 5:57Diagnostics travel path
  4. 10:29SBT Bridge and Zinc role
  5. 13:17Diagnostics in LSP/BSP
  6. 16:08Scala vs other languages
  7. 23:31Rust’s diagnostic structure
  8. 26:40Advanced diagnostics in Metals
  9. 29:30Scala’s diagnostic progress
  10. 34:44Future improvements
  11. 35:26Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.