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

View of /tests/trunk/bugs/tests.obsolete/bug855a.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: 438 byte(s)
(* bug855a.sml *)
(* bad error message *)

signature C1 = sig type R val foo : R -> R end;
funsig Soo(structure T1:C1 structure T2:sig include C1 end) =
  sig include C1 sharing T1 = T2 end;

functor Foo(structure T1:C1 structure T2:sig include C1 end):
        sig include C1 sharing T1 = T2 end =
struct type R = T2.R val foo = T1.foo end;  

(* std_in:6.33-6.39 Error: definitional sharing constraint T1 = T2 can never be satisfied
*)

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