diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-15 17:33:52 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-15 17:33:52 -0800 |
commit | c1123445f7061a8922f792d22b12daa4cd2874db (patch) | |
tree | f307181b0e30693cb49f791500e6b78a7fd4fc1e /021check_instruction.cc | |
parent | d2bd40bfcb995fecb947035b0c896342ca22cdd6 (diff) | |
download | mu-c1123445f7061a8922f792d22b12daa4cd2874db.tar.gz |
2448
Diffstat (limited to '021check_instruction.cc')
-rw-r--r-- | 021check_instruction.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/021check_instruction.cc b/021check_instruction.cc index 15d14afc..57757446 100644 --- a/021check_instruction.cc +++ b/021check_instruction.cc @@ -73,6 +73,8 @@ recipe main [ +error: main: can't copy 34 to 1:address:number; types don't match :(code) +// copy arguments because later layers will want to make changes to them +// without perturbing the caller bool types_match(reagent lhs, reagent rhs) { // '_' never raises type error if (is_dummy(lhs)) return true; |