From 431bbb1aa7944c5b67fa25d833d7ca992f72511d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 13 Sep 2016 00:07:38 -0700 Subject: 3346 Process type abbreviations in *shape-shifting* function headers. --- 059to_text.mu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '059to_text.mu') diff --git a/059to_text.mu b/059to_text.mu index 25d5f55a..207ade78 100644 --- a/059to_text.mu +++ b/059to_text.mu @@ -6,26 +6,26 @@ # 'shorter' variant of to-text, when you want to enable some sort of trimming # define it to be identical to 'to-text' by default -def to-text-line x:_elem -> y:address:array:character [ +def to-text-line x:_elem -> y:text [ local-scope load-ingredients y <- to-text x ] # variant for arrays (since we can't pass them around otherwise) -def array-to-text-line x:address:array:_elem -> y:address:array:character [ +def array-to-text-line x:address:array:_elem -> y:text [ local-scope load-ingredients y <- to-text *x ] scenario to-text-line-early-warning-for-static-dispatch [ - x:address:array:character <- to-text-line 34 + x:text <- to-text-line 34 # just ensure there were no errors ] scenario array-to-text-line-early-warning-for-static-dispatch [ n:address:array:number <- new number:type, 3 - x:address:array:character <- array-to-text-line n + x:text <- array-to-text-line n # just ensure there were no errors ] -- cgit 1.4.1-2-gfad0