|
|
Sponsor |
Nice/src/bossa/syntax typecheck.nice,1.75,1.76: msg#00150lang.nice.cvs
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv18359/src/bossa/syntax Modified Files: typecheck.nice Log Message: Make 'var i = <byte expression>' assign i the type int. Index: typecheck.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/typecheck.nice,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** typecheck.nice 28 Aug 2003 08:46:32 -0000 1.75 --- typecheck.nice 30 Aug 2003 10:31:36 -0000 1.76 *************** *** 586,589 **** --- 586,591 ---- decl.value = value = value.noOverloading(); target.type = checkMonomorphic(value.getType(), decl); + if (target.type == PrimitiveType.byteType) + target.type = notNull(PrimitiveType.intType); } else ------------------------------------------------------- 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/stdlib/nice/lang java.nice,1.31,1.32, arjanb |
|---|---|
| Next by Date: | Nice/testsuite/compiler/statements/variables var.testsuite,1.1,1.2, bonniot |
| Previous by Thread: | Nice/stdlib/nice/lang java.nice,1.31,1.32, arjanb |
| Next by Thread: | Nice/testsuite/compiler/statements/variables var.testsuite,1.1,1.2, bonniot |
| 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.
|