--- trunk/src/compiler/high-to-mid/high-to-mid.sml 2010/10/17 02:23:43 419 +++ trunk/src/compiler/high-to-mid/high-to-mid.sml 2010/10/17 02:23:55 420 @@ -117,8 +117,8 @@ | SrcOp.Probe _ => (case args of [fld, pos] => expandProbe(env, y, fld, pos) (* end case *)) - | SrcOp.Input(_, s) => assign (DstOp.Input s) - | SrcOp.InputWithDefault(_, s) => assign (DstOp.InputWithDefault s) + | SrcOp.Input(ty, s) => assign (DstOp.Input(cvtTy ty, s)) + | SrcOp.InputWithDefault(ty, s) => assign (DstOp.InputWithDefault(cvtTy ty, s)) | _ => raise Fail("unexpected " ^ SrcOp.toString rator) (* end case *) end