about summary refs log tree commit diff stats
path: root/048check_type_by_name.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-30 00:07:33 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-30 01:01:34 -0700
commita0fc38c9e1584960ecad0eb8d58a5d4e6995ad87 (patch)
tree4a2c9a8120ea6d59dd371b575b0d1215a2c6aaaf /048check_type_by_name.cc
parentc6b3b04ac85f05065fef9626270d914dc4428484 (diff)
downloadmu-a0fc38c9e1584960ecad0eb8d58a5d4e6995ad87.tar.gz
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.
Diffstat (limited to '048check_type_by_name.cc')
-rw-r--r--048check_type_by_name.cc2
1 files changed, 1 insertions, 1 deletions
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;