Nice/testsuite/compiler/classes native.testsuite,1.9,1.10 serialization.testsuite,1.5,1.6 this.testsuite,1.7,1.8 typeParameters.testsuite,1.20,1.21

Arjan Boeijink <[email protected]>
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/testsuite/compiler/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17429/F:/nice/testsuite/compiler/classes

Modified Files:
	native.testsuite serialization.testsuite this.testsuite 
	typeParameters.testsuite 
Log Message:
Removed deprecated pattern syntax from testsuite.

Index: this.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/this.testsuite,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** this.testsuite	18 Jan 2004 20:38:40 -0000	1.7
--- this.testsuite	1 Mar 2005 18:56:19 -0000	1.8
***************
*** 112,116 ****
  }
  
! getX(this@A) = x;
  
  /// PASS
--- 112,116 ----
  }
  
! getX(A this) = x;
  
  /// PASS

Index: serialization.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/serialization.testsuite,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** serialization.testsuite	3 Dec 2003 21:50:41 -0000	1.5
--- serialization.testsuite	1 Mar 2005 18:56:19 -0000	1.6
***************
*** 77,85 ****
  }
  
! writeObject(this@B, out) {
    out.writeBoolean(true);
  }
  
! readObject(this@B, in) {
    ok = in.readBoolean();
  }
--- 77,85 ----
  }
  
! writeObject(B this, out) {
    out.writeBoolean(true);
  }
  
! readObject(B this, in) {
    ok = in.readBoolean();
  }

Index: typeParameters.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/typeParameters.testsuite,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** typeParameters.testsuite	1 Mar 2005 17:36:35 -0000	1.20
--- typeParameters.testsuite	1 Mar 2005 18:56:19 -0000	1.21
***************
*** 82,86 ****
  {
    void play(Number p);
!   play(p@Number) { }
  }
  
--- 82,86 ----
  {
    void play(Number p);
!   play(Number p) { }
  }
  
***************
*** 90,94 ****
  {
    void play(Game<S> p);
!   play(p@Game) { }
  }
  
--- 90,94 ----
  {
    void play(Game<S> p);
!   play(Game p) { }
  }
  
***************
*** 171,175 ****
  class A<T | T <: B, B <: T> extends AbstractSet<T> { }
  
! add(a@A, b@B) = super;
  
  /// PASS bug
--- 171,175 ----
  class A<T | T <: B, B <: T> extends AbstractSet<T> { }
  
! add(A a, B b) = super;
  
  /// PASS bug
***************
*** 178,182 ****
  class A<T | T <: B, B <: T> extends AbstractSet<T> { }
  
! add(a@A, b@C) = super;
  
  /// PASS
--- 178,182 ----
  class A<T | T <: B, B <: T> extends AbstractSet<T> { }
  
! add(A a, C b) = super;
  
  /// PASS
***************
*** 185,189 ****
    void do_something( List<A> x ) {}
    class B<A T | A <: T> extends LinkedList<T> {}
!   add(x@B, o) {
      do_something(x);
      return super;
--- 185,189 ----
    void do_something( List<A> x ) {}
    class B<A T | A <: T> extends LinkedList<T> {}
!   add(B x, o) {
      do_something(x);
      return super;

Index: native.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/native.testsuite,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** native.testsuite	8 Dec 2004 01:10:27 -0000	1.9
--- native.testsuite	1 Mar 2005 18:56:19 -0000	1.10
***************
*** 3,7 ****
    /// Toplevel
    <String T> T m(T);
!   m(s@String) = "";
  
  /// PASS
--- 3,7 ----
    /// Toplevel
    <String T> T m(T);
!   m(String s) = "";
  
  /// PASS



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.