|
|
Sponsor |
Nice/testsuite/compiler/methods constrained.testsuite,1.4,1.5: msg#00053lang.nice.cvs
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1:/tmp/cvs-serv32150/testsuite/compiler/methods Modified Files: constrained.testsuite Log Message: Report an error when a method implementation binds type parameters that are not in the method declaration. Index: constrained.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/constrained.testsuite,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** constrained.testsuite 18 Jun 2003 18:12:46 -0000 1.4 --- constrained.testsuite 11 Sep 2003 21:07:01 -0000 1.5 *************** *** 74,75 **** --- 74,89 ---- /*/// FAIL HERE */ foo(@X){} //@X is not in the domain of foo + + /// FAIL + /// Toplevel + class A + { + void f(); + f() {} + } + + class B extends A + { + // Use type parameter that does not exist in the declaration + <U> f() {} + } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Nice/web .htaccess,1.11,1.12, bonniot |
|---|---|
| Next by Date: | Nice/src/bossa/parser Parser.jj,1.207,1.208, arjanb |
| Previous by Thread: | Nice/web .htaccess,1.11,1.12, bonniot |
| Next by Thread: | Nice/src/bossa/parser Parser.jj,1.207,1.208, arjanb |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|