Nice/stdlib/nice/lang source-lines.nice,1.7,1.8
Daniel Bonniot <[email protected]>
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/stdlib/nice/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7228/stdlib/nice/lang
Modified Files:
source-lines.nice
Log Message:
Print correct source file and line numbers in niceunit (#1096734).
Index: source-lines.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/source-lines.nice,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** source-lines.nice 5 Aug 2004 12:04:21 -0000 1.7
--- source-lines.nice 24 Feb 2005 16:38:23 -0000 1.8
***************
*** 50,54 ****
elements.foreach(Object e => {
(?String file, int line) =
! getSourceLocation__(e.call__("getClassName"), e.call__("getLineNumber"), loader)
|| (e.call__("getFileName"), e.call__("getLineNumber"));
let location =
--- 50,54 ----
elements.foreach(Object e => {
(?String file, int line) =
! getSourceLocation(e.call__("getClassName"), e.call__("getLineNumber"), loader)
|| (e.call__("getFileName"), e.call__("getLineNumber"));
let location =
***************
*** 215,220 ****
}
! ?(String,int) getSourceLocation__(String className, int lineNumber,
! ?ClassLoader loader)
{
let map = sourceDebugExtension__(className, loader);
--- 215,220 ----
}
! public ?(String,int) getSourceLocation(String className, int lineNumber,
! ?ClassLoader loader)
{
let map = sourceDebugExtension__(className, loader);
-------------------------------------------------------
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