Commit e8b84eb5 authored by Kim Nguyễn's avatar Kim Nguyễn
Browse files

fix a typo in the error message of refernces (BUG#45)

parent e684a165
......@@ -1456,7 +1456,7 @@ substtitution: %a @]@\n%!"
if not(Var.Set.subset vars env.delta) then
error loc (
Printf.sprintf
"Type ref %s constains polymorphic variables"
"Type ref (%s) contains polymorphic variables"
(Types.Print.string_of_type td))
else begin
ignore (type_check env e td false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment