[ nice-Bugs-1096725 ] foo instanceof ?String
"SourceForge.net" <[email protected]> Wed, 05 Jan 2005 12:57:42 -0800
| Newsgroups | gmane.comp.lang.nice.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1096725, was opened at 2005-01-05 15:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1096725&group_id=12788 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: mike.beckerle (mbeckerle) Assigned to: Nobody/Anonymous (nobody) 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1096725&group_id=12788 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt