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

Annotation of /tests/trunk/bugs/tests.obsolete/bug176.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2460 - (view) (download)

1 : dbm 548 (* bug.176 *)
2 :    
3 :     signature INCLUDE_1 = sig type Ty val x: Ty end
4 :     signature INCLUDE_2 = sig type Ty val y: Ty end
5 :    
6 :     signature BOTH =
7 :     sig
8 :     type T
9 :     include INCLUDE_1 sharing type Ty = T
10 :     include INCLUDE_2 sharing type Ty = T
11 :     end
12 :    
13 :     functor F(Both: BOTH) =
14 :     struct
15 :     val _ = [Both.x, Both.y]
16 :     end;

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