about summary refs log tree commit diff stats
path: root/082scenario_screen.cc
diff options
context:
space:
mode:
Diffstat (limited to '082scenario_screen.cc')
-rw-r--r--082scenario_screen.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/082scenario_screen.cc b/082scenario_screen.cc
index 20cf5c84..a3cf9393 100644
--- a/082scenario_screen.cc
+++ b/082scenario_screen.cc
@@ -156,6 +156,13 @@ if (curr.name == "assume-screen") {
   curr.products.at(0).set_value(SCREEN);
 }
 
+:(scenario assume_screen_shows_up_in_errors)
+% Hide_errors = true;
+scenario error-in-assume-screen [
+  assume-screen width, 5
+]
++error: scenario_error-in-assume-screen: missing type for 'width' in 'assume-screen width, 5'
+
 //: screen-should-contain is a regular instruction
 :(before "End Primitive Recipe Declarations")
 SCREEN_SHOULD_CONTAIN,