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.
tests/full/good/patricia.cd
0 → 100644
tests/full/good/patricia.exp
0 → 100644
tests/full/good/poly-ok.cd
0 → 100644
tests/full/good/poly-ok.exp
0 → 100644
Please register or sign in to comment