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

Several fixes for handling of polymorphic variables and instanciation:

- fix the scoping of (fun ('a -> 'a -> 'a) x -> (fun ('a -> 'a) y -> ...))
so that the second interface uses the same 'a as the first
- prevent global declration of polymorphic values that are not functions (unsound
in the absence of value restriction because of side effects).
- add more complex test cases for polymorphic types and functions.
parent 56ff4182
Pipeline #166 passed with stages
in 7 minutes and 36 seconds