(diagnostic
  (schema slovo.diagnostic)
  (version 1)
  (severity error)
  (code IfConditionNotBool)
  (message "`if` condition must be bool")
  (file "<fixture>")
  (span
    (bytes 41 67)
    (range 5 7 5 33)
  )
  (expected "bool")
  (found "(result string i32)")
)
