diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 17:20:52 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 17:20:52 -0400 |
| commit | 5bc70e2d64392441d182fc9c6e65d4ba5b92e4c2 (patch) | |
| tree | 823a04db18172e8bf3dceaa6dddc55e80d39f2c5 /src/compile/promotions.h | |
| parent | 31beca9f417c2c4fd32eaae01b3e855acf892220 (diff) | |
Rename promotion -> promotions
Diffstat (limited to 'src/compile/promotions.h')
| -rw-r--r-- | src/compile/promotions.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compile/promotions.h b/src/compile/promotions.h new file mode 100644 index 00000000..2cfe0cbf --- /dev/null +++ b/src/compile/promotions.h @@ -0,0 +1,7 @@ + +#include "../ast.h" +#include "../environment.h" +#include "../types.h" + +bool promote(env_t *env, ast_t *ast, Text_t *code, type_t *actual, type_t *needed); +Text_t compile_to_type(env_t *env, ast_t *ast, type_t *t); |
