view tests/open.ur @ 1535:27190faa36a3

Handle case where shakeExp can remove datatype.
author Karn Kallio <kkallio@eka>
date Sat, 13 Aug 2011 00:07:28 -0430
parents 71bafe66dbe1
children
line wrap: on
line source
structure S = struct
        type t = int
        val x = 0

        structure S' : sig type u val y : t end = struct
                type u = t
                val y = x
        end

        signature Sig = sig
                type t
                val x : t
        end
end

open S.S'
open S
open S'

structure S' : Sig = S