about summary refs log tree commit diff stats
path: root/030container.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 /030container.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 '030container.cc')
-rw-r--r--030container.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/030container.cc b/030container.cc
index 8505f475..19d3a5af 100644
--- a/030container.cc
+++ b/030container.cc
@@ -402,7 +402,7 @@ recipe main [
 :(scenario run_allows_type_definition_after_use)
 % Hide_warnings = true;
 recipe main [
-  1:bar <- copy 0
+  1:bar <- copy 0/raw
 ]
 
 container bar [