synth_ref

This commit is contained in:
Mylloon 2023-12-05 00:06:34 +01:00
parent 28f303ee51
commit 11b86b509a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -183,7 +183,7 @@ and synth_define
and synth_ref
: HopixTypes.typing_environment -> expression Position.located -> HopixTypes.aty
=
fun tenv expr -> failwith "Students! This is your job! (synth_ref)"
fun tenv expr -> HopixTypes.href (synth_expression tenv expr)
and synth_assign
: HopixTypes.typing_environment -> expression Position.located