Fix PR#6836: Assertion failure using -short-paths
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
19a5d5eb50
commit
5b8e25d27a
|
@ -0,0 +1,6 @@
|
|||
type t = [`A | `B];;
|
||||
type 'a u = t;;
|
||||
let a : [< int u] = `A;;
|
||||
|
||||
type 'a s = 'a;;
|
||||
let b : [< t s] = `B;;
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
# type t = [ `A | `B ]
|
||||
# type 'a u = t
|
||||
# val a : [< int u > `A ] = `A
|
||||
# type 'a s = 'a
|
||||
# val b : [< t > `B ] = `B
|
||||
#
|
Loading…
Reference in New Issue