From 87f1cf600731f58b6404ad30752b29ec26c32699 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 28 Nov 2015 23:11:21 -0800 Subject: 2501 --- 030container.cc | 2 ++ 048check_type_by_name.cc | 2 -- 056recipe_header.cc | 2 +- 999spaces.cc | 9 ++++----- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/030container.cc b/030container.cc index ca95be07..04be418c 100644 --- a/030container.cc +++ b/030container.cc @@ -528,7 +528,9 @@ container bar [ $error: 0 :(after "Begin Instruction Modifying Transforms") +// Begin Type Modifying Transforms Transform.push_back(check_or_set_invalid_types); // idempotent +// End Type Modifying Transforms :(code) void check_or_set_invalid_types(const recipe_ordinal r) { diff --git a/048check_type_by_name.cc b/048check_type_by_name.cc index c741e037..f229263e 100644 --- a/048check_type_by_name.cc +++ b/048check_type_by_name.cc @@ -15,9 +15,7 @@ recipe main [ +error: main: x used with multiple types :(after "Begin Instruction Modifying Transforms") -// Begin Type Modifying Transforms Transform.push_back(check_types_by_name); // idempotent -// End Type Modifying Transforms :(code) void check_types_by_name(const recipe_ordinal r) { diff --git a/056recipe_header.cc b/056recipe_header.cc index b0d1d0ca..d1735887 100644 --- a/056recipe_header.cc +++ b/056recipe_header.cc @@ -133,7 +133,7 @@ recipe add2 x:number, y:number -> z:number [ ] +error: add2: replied with the wrong type at 'reply z' -:(before "End Type Modifying Transforms") +:(after "Begin Type Modifying Transforms") Transform.push_back(check_reply_instructions_against_header); // idempotent :(code) diff --git a/999spaces.cc b/999spaces.cc index 0bf0c3ac..a9247a5d 100644 --- a/999spaces.cc +++ b/999spaces.cc @@ -45,14 +45,13 @@ assert(Max_callstack_depth == 9989); //: ↳ 56.4 fill in reply ingredients //: //: begin type modifying transforms -//: 48 check types by name //: ↱ 56.3 deduce types from header //: 56 check reply instructions against header +//: 48 check types by name +//: --- +//: 30 check or set invalid containers //: end type modifying transforms -//: -//: 57 static dispatch -//: -//: 30 check or set invalid containers +//: ↳ 57 static dispatch //: --- //: 13 update instruction operation //: 40 transform braces -- cgit 1.4.1-2-gfad0