From 1ae0a4207187ea9448e543f0468deb7f5b555bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Rowicki?= <35342116+radrow@users.noreply.github.com> Date: Wed, 9 Oct 2019 17:42:12 +0200 Subject: [PATCH] Fix not instantiated uvar --- src/aeso_ast_infer_types.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeso_ast_infer_types.erl b/src/aeso_ast_infer_types.erl index a842cc3..9376129 100644 --- a/src/aeso_ast_infer_types.erl +++ b/src/aeso_ast_infer_types.erl @@ -1785,7 +1785,7 @@ solve_known_record_types(Env, Constraints) -> C end; _ -> - type_error({not_a_record_type, RecType, When}), + type_error({not_a_record_type, instantiate(RecType), When}), not_solved end end