Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /tests/trunk/bugs/tests.obsolete/bug1369.1.sml
ViewVC logotype

View of /tests/trunk/bugs/tests.obsolete/bug1369.1.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2460 - (download) (annotate)
Sat Apr 28 20:18:10 2007 UTC (12 years, 1 month ago) by gkuan
File size: 597 byte(s)
(* bug1369.1.sml *)

signature SIG0 =
sig
  structure B: sig structure A: sig end end
end;

signature SIG1 =
sig
  structure C : SIG0
  structure D : SIG0
end;

signature SIG2 =
sig
  structure C : SIG0
  structure D : SIG0
  sharing C = D
end;

functor F (X : SIG2) = struct end;

functor H (Y : SIG1) =
struct
  structure E = F(Y)
end;


(* Puzzle: in compStr in SigMatch, when matching instantiated
Y to SIG2, C and D have same signatures, but substructures C.B and
D.B apparently have unequal signatures (according to MU.eqSign).
Did Instantiate change the common signature (of B in SIG0)?
*)

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0