Mercurial > repos > rhope
diff runtime/func.h @ 168:d2b941f82d74
Fix type of list constants in inference pass and return type of some Array related workers
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 01 May 2011 18:41:17 -0700 |
parents | d1e206ff75f9 |
children | ba35ab624ec2 |
line wrap: on
line diff
--- a/runtime/func.h Mon Apr 04 01:41:19 2011 -0400 +++ b/runtime/func.h Sun May 01 18:41:17 2011 -0700 @@ -137,8 +137,8 @@ }\ if(get_blueprint(cdata->params[0])->type_id != mytype_id)\ {\ - puts("uh oh, need conversion and that's not implemented yet!");\ - exit(1);\ + printf("uh oh, need conversion from type %d to %s(%d) for %s and that's not implemented yet!\n", get_blueprint(cdata->params[0])->type_id, #type_name, mytype_id, #name);\ + goto _exception;\ }\ m_ ## name ## AT_ ## type_name:\ for(idx = numparams; idx < cdata->num_params; ++idx)\