[ nice-Feature Requests-1096725 ] foo instanceof ?String
"SourceForge.net" <[email protected]> Wed, 09 Mar 2005 14:15:48 -0800
| Newsgroups | gmane.comp.lang.nice.general |
|---|---|
| Message-ID | <[email protected]> |
Feature Requests item #1096725, was opened at 2005-01-05 21:57 Message generated for change (Comment added) made by arjanb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362788&aid=1096725&group_id=12788 Category: None Group: None >Status: Closed Priority: 5 Submitted By: mike.beckerle (mbeckerle) >Assigned to: Arjan Boeijink (arjanb) Summary: foo instanceof ?String Initial Comment: Enhancement request: I'd like to be able to do tests like: assert (foo instanceof ?String); which is equivalent to; assert (foo == null || foo instanceof String); so the work around is easy, but why not be able to just use the ? syntax. ---------------------------------------------------------------------- >Comment By: Arjan Boeijink (arjanb) Date: 2005-03-09 23:15 Message: Logged In: YES user_id=688815 This has been implemented in the CVS version. ---------------------------------------------------------------------- Comment By: Arjan Boeijink (arjanb) Date: 2005-01-05 22:58 Message: Logged In: YES user_id=688815 This makes sense though I'm not sure it's common enough. (Moved to feature requests) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362788&aid=1096725&group_id=12788 ------------------------------------------------------- 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