|
|
Sponsor |
Nice/src/bossa/syntax PolySymbol.java,1.16,1.17 MethodDeclaration.java,1.46: msg#00153lang.nice.cvs
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv21667/src/bossa/syntax Modified Files: PolySymbol.java MethodDeclaration.java Log Message: Only check for double resolve in MethodDeclaration.Symbol, and avoid messing up the type by adding the nullness marker twice. Index: PolySymbol.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/PolySymbol.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** PolySymbol.java 30 Aug 2003 10:37:12 -0000 1.16 --- PolySymbol.java 30 Aug 2003 10:57:32 -0000 1.17 *************** *** 58,67 **** void resolve() { ! // Check that resolving has not already been done. ! if (syntacticType != null) ! { ! type = syntacticType.resolveToLowlevel(); ! syntacticType = null; ! } } --- 58,63 ---- void resolve() { ! type = syntacticType.resolveToLowlevel(); ! syntacticType = null; } Index: MethodDeclaration.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/MethodDeclaration.java,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** MethodDeclaration.java 30 Aug 2003 10:37:12 -0000 1.46 --- MethodDeclaration.java 30 Aug 2003 10:57:32 -0000 1.47 *************** *** 312,320 **** void resolve() { ! super.resolve(); ! // The method has a raw type, while the symbol needs a nullness marker ! MethodDeclaration.this.type = this.type; ! this.type = Types.addSure(this.type); } --- 312,324 ---- void resolve() { ! // Check that resolving has not already been done. ! if (syntacticType != null) ! { ! super.resolve(); ! // The method has a raw type, while the symbol needs a nullness marker ! MethodDeclaration.this.type = this.type; ! this.type = Types.addSure(this.type); ! } } ------------------------------------------------------- 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/src/bossa/syntax PolySymbol.java,1.15,1.16 NiceClass.java,1.59,1.60 MethodDeclaration.java,1.45,1.46 JavaMethod.java,1.27,1.28 JavaConstructor.java,1.2,1.3, bonniot |
|---|---|
| Next by Date: | Nice/src/bossa/syntax typecheck.nice,1.76,1.77, arjanb |
| Previous by Thread: | Nice/src/bossa/syntax PolySymbol.java,1.15,1.16 NiceClass.java,1.59,1.60 MethodDeclaration.java,1.45,1.46 JavaMethod.java,1.27,1.28 JavaConstructor.java,1.2,1.3, bonniot |
| Next by Thread: | Nice/src/bossa/syntax typecheck.nice,1.76,1.77, 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.
|