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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2071 - (download) (annotate)
Tue Oct 31 02:58:12 2006 UTC (12 years, 8 months ago) by blume
Original Path: tests/trunk/bugs/tests/bug1414.1.sml
File size: 334 byte(s)
moved tests trunk
(* bug1414.1.sml *)

signature SIG1 = 
sig
  type t
  type u

  datatype c = C of u 
  and d = D of t * c   (* needed! *)
end;

signature SIG2 =
sig
  type s = int         (* <------ that is the culprit I think *)
end;

signature SIG3 = 
sig
  structure A : SIG1 
  structure B : SIG2
    sharing type B.s = A.c  (* not valid *)
end;

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