(diagnostic
  (schema slovo.diagnostic)
  (version 1)
  (severity error)
  (code TypeMismatch)
  (message "local `value` initializer has the wrong type")
  (file "<fixture>")
  (span
    (bytes 52 78)
    (range 5 18 5 44)
  )
  (expected "i32")
  (found "(result string i32)")
)

(diagnostic
  (schema slovo.diagnostic)
  (version 1)
  (severity error)
  (code UnknownVariable)
  (message "unknown variable `value`")
  (file "<fixture>")
  (span
    (bytes 82 87)
    (range 6 3 6 8)
  )
)
