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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2460 - (download) (annotate)
Sat Apr 28 20:18:10 2007 UTC (12 years, 2 months ago) by gkuan
File size: 384 byte(s)
(* bug209.1.sml *)
(* problem in eqtypes/defineEqTycon/eqty *)

signature S1 = sig type t end;
structure A = struct type t = int end;
functor F(X : S1)  =  
struct
  structure B = struct datatype s1 = K of X.t end
  type s = B.s1    (* reevaluated first, before B.s1 has been reevaluated *)
end;
structure C = F(A);

fun f(x:C.s) = (x = x);  (* is C.s recognized as equality type? *)

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