snapshots_test__diagnostics_enabled_misuse.snap raw

---
source: crates/guiduck-component-core/tests/snapshots_test.rs
expression: "compile_or_render_errors(source, \"broken.gdc\")"
---
error: `:enabled` takes a boolean expression, e.g. `true` or `(not busy)`
  --> broken.gdc:5:30
  |
5 |     (text :text "a" :enabled "yes")
  |                              ^^^^^

error: `:enabled` takes a boolean expression, e.g. `true` or `(not busy)`
  --> broken.gdc:6:30
  |
6 |     (text :text "b" :enabled 3)
  |                              ^

error: `missing` is not a declared prop or state
  --> broken.gdc:7:30
  |
7 |     (text :text "c" :enabled missing)))
  |                              ^^^^^^^