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/bug451.sml
ViewVC logotype

View of /tests/trunk/bugs/tests.obsolete/bug451.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: 650 byte(s)
(* bug451.sml *)

signature A = sig structure Base:sig end end;

signature P = sig end;

functor A (structure P:P) : A =
struct
  structure Base = P;
end;

signature B = sig structure Base:sig end end;

functor B (structure P:P structure A:A sharing P = A.Base ) : B =
struct
  structure Base = P;
end;

functor Q(structure P : P
          structure A : A 
          structure B : B 
          sharing P = A.Base = B.Base) = struct end ;

structure P = struct end ;

structure A = A(structure P = P);
structure B = B(structure P = P structure A = A);

structure Q = Q(structure P = P
                structure A = A
                structure B = B);

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