Nice/testsuite/compiler/syntax types.testsuite,1.5,1.6
Daniel Bonniot <[email protected]> Sat, 12 Mar 2005 02:41:44 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/testsuite/compiler/syntax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5589/testsuite/compiler/syntax
Modified Files:
types.testsuite
Log Message:
Implemented visibility for toplevel variables and values.
Index: types.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/syntax/types.testsuite,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** types.testsuite 6 Mar 2003 12:29:07 -0000 1.5
--- types.testsuite 12 Mar 2005 02:41:42 -0000 1.6
***************
*** 39,43 ****
/// package a
/// toplevel
! var int[?] a = null;
/// package b import a
a = null;
--- 39,43 ----
/// package a
/// toplevel
! public var int[?] a = null;
/// package b import a
a = null;
***************
*** 46,50 ****
/// package a
/// toplevel
! var (int,int) tuple = (1,2);
/// package b import a
(int x, int y) = tuple;
--- 46,50 ----
/// package a
/// toplevel
! public var (int,int) tuple = (1,2);
/// package b import a
(int x, int y) = tuple;
***************
*** 53,57 ****
/// package a
/// toplevel
! var (int,int)->int f = (int x, int y)=> x+y;
/// package b import a
f(0,1);
--- 53,57 ----
/// package a
/// toplevel
! public var (int,int)->int f = (int x, int y)=> x+y;
/// package b import a
f(0,1);
***************
*** 60,64 ****
/// package a
/// toplevel
! var ((int,int))->int f = ((int,int) tuple)=> 0;
/// package b import a
f((65536,1));
--- 60,64 ----
/// package a
/// toplevel
! public var ((int,int))->int f = ((int,int) tuple)=> 0;
/// package b import a
f((65536,1));
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click