From 1fa530589eee7b668d936e77c1c430f18907a481 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 28 Oct 2015 13:08:26 -0700 Subject: 2299 - check types of ingredients in calls Still very incomplete: a) we perform the check at runtime b) tests for edit and sandbox apps no longer work; we can't fix them until we get type parameters in both containers and recipes (because list and list operations need to become generic). --- 071print.mu | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '071print.mu') diff --git a/071print.mu b/071print.mu index d1cea5cb..c3d08180 100644 --- a/071print.mu +++ b/071print.mu @@ -524,7 +524,7 @@ recipe cursor-to-start-of-line [ recipe cursor-to-next-line [ local-scope - screen:address <- next-ingredient + screen:address:screen <- next-ingredient screen <- cursor-down screen screen <- cursor-to-start-of-line screen reply screen/same-as-ingredient:0 @@ -560,7 +560,7 @@ recipe screen-height [ recipe hide-cursor [ local-scope - screen:address <- next-ingredient + screen:address:screen <- next-ingredient # if x exists (not real display), do nothing { break-unless screen @@ -573,7 +573,7 @@ recipe hide-cursor [ recipe show-cursor [ local-scope - screen:address <- next-ingredient + screen:address:screen <- next-ingredient # if x exists (not real display), do nothing { break-unless screen @@ -586,7 +586,7 @@ recipe show-cursor [ recipe hide-screen [ local-scope - screen:address <- next-ingredient + screen:address:screen <- next-ingredient # if x exists (not real display), do nothing # todo: help test this { @@ -600,7 +600,7 @@ recipe hide-screen [ recipe show-screen [ local-scope - screen:address <- next-ingredient + screen:address:screen <- next-ingredient # if x exists (not real display), do nothing # todo: help test this { @@ -663,7 +663,7 @@ scenario print-string-stops-at-right-margin [ recipe print-integer [ local-scope - screen:address <- next-ingredient + screen:address:screen <- next-ingredient n:number <- next-ingredient color:number, color-found?:boolean <- next-ingredient { -- cgit 1.4.1-2-gfad0