From a0fc38c9e1584960ecad0eb8d58a5d4e6995ad87 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 30 Sep 2015 00:07:33 -0700 Subject: 2218 - check types in instructions much earlier Front-loads it a bit more than I'd like, but the payoff is that other recipes will now be able to describe the type checks right next to their operation. I'm also introducing a new use of /raw with literals to indicate unsafe typecasts. --- 048check_type_by_name.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '048check_type_by_name.cc') diff --git a/048check_type_by_name.cc b/048check_type_by_name.cc index 8510d02c..e4b4f6d0 100644 --- a/048check_type_by_name.cc +++ b/048check_type_by_name.cc @@ -80,7 +80,7 @@ recipe main [ x <- copy 1 x:number <- copy 2 ] -+warn: missing type in 'x <- copy 1' ++warn: missing type for x in 'x <- copy 1' :(scenario typo_in_address_type_warns) % Hide_warnings = true; -- cgit 1.4.1-2-gfad0