From f78f1907a1b58720eaef83f19c0f41387159774d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 28 Nov 2015 22:41:19 -0800 Subject: 2498 Just one tangle of dependencies left in the transforms. Untangling it will require one more region: for transforms modifying types (inside instructions). --- 048check_type_by_name.cc | 2 ++ 999spaces.cc | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/048check_type_by_name.cc b/048check_type_by_name.cc index f229263e..c741e037 100644 --- a/048check_type_by_name.cc +++ b/048check_type_by_name.cc @@ -15,7 +15,9 @@ 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/999spaces.cc b/999spaces.cc index 33d14453..8a90dbb4 100644 --- a/999spaces.cc +++ b/999spaces.cc @@ -44,10 +44,12 @@ assert(Max_callstack_depth == 9989); //: 56.2 check header ingredients //: ↳ 56.4 fill in reply ingredients //: -//: 48 check types by name -//: ↓ ↱ 56.3 deduce types from header -//: ↓ ↑ ↳ 57 static dispatch -//: ↳ 56 check reply instructions against header +//: begin type modifying transforms +//: 48 check types by name +//: ↓ ↱ 56.3 deduce types from header +//: ↓ ↑ ↳ 57 static dispatch +//: ↳ 56 check reply instructions against header +//: end type modifying transforms //: //: 30 check or set invalid containers //: --- -- cgit 1.4.1-2-gfad0