From 04a2a2928c795013fc28e9c6ac41edf51162349b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 31 Oct 2016 09:16:26 -0700 Subject: 3610 - bugfix in type-checking 'call' instructions Thanks Rebecca Allard for running into this. The test is in layer 13 even though the code that regressed was fixed in layer 71, because the test was working as-is in earlier layers. --- 013update_operation.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '013update_operation.cc') diff --git a/013update_operation.cc b/013update_operation.cc index 418b3563..10b29714 100644 --- a/013update_operation.cc +++ b/013update_operation.cc @@ -25,3 +25,10 @@ void update_instruction_operations(const recipe_ordinal r) { string maybe(string s) { return s + ": "; } + +:(scenario missing_arrow) +% Hide_errors = true; +def main [ + 1:number , copy 0 # typo: ',' instead of '<-' +] ++error: main: instruction '1:number' has no recipe -- cgit 1.4.1-2-gfad0