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

SCM Repository

[smlnj] Annotation of /tests/trunk/bugs/tests.obsolete/bug1414.1.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2460 - (view) (download)

1 : dbm 548 (* bug1414.1.sml *)
2 :    
3 :     signature SIG1 =
4 :     sig
5 :     type t
6 :     type u
7 :    
8 :     datatype c = C of u
9 :     and d = D of t * c (* needed! *)
10 :     end;
11 :    
12 :     signature SIG2 =
13 :     sig
14 :     type s = int (* <------ that is the culprit I think *)
15 :     end;
16 :    
17 :     signature SIG3 =
18 :     sig
19 :     structure A : SIG1
20 :     structure B : SIG2
21 :     sharing type B.s = A.c (* not valid *)
22 :     end;

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