Nice/testsuite/compiler/typing dti.testsuite,1.4,1.5
Artem Gr Kozarezov <[email protected]>
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/testsuite/compiler/typing
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20664/testsuite/compiler/typing
Modified Files:
dti.testsuite
Log Message:
Nullness analisys on assignments is partially implemented (RFE 681385).
Index: dti.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/dti.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** dti.testsuite 6 Mar 2005 17:44:46 -0000 1.4
--- dti.testsuite 7 Mar 2005 08:16:52 -0000 1.5
***************
*** 13,16 ****
--- 13,25 ----
/// PASS bug
+ // Nullness analysis on assignments. RFE# 681385
+ func( null ).append( "123" );
+ /// Toplevel
+ StringBuffer func( ?StringBuffer foo ) {
+ if( foo == null ) foo = new StringBuffer( 22 );
+ return foo.append( "bar" );
+ }
+
+ /// PASS bug
?String s = null;
if(maybeTrue())
***************
*** 47,51 ****
foo();
! /// PASS bug
?String s = maybeString();
?String t = null;
--- 56,60 ----
foo();
! /// PASS
?String s = maybeString();
?String t = null;
***************
*** 135,137 ****
func();
}
-
\ No newline at end of file
--- 144,145 ----
-------------------------------------------------------
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