[Nice-commit] Nice/src/nice/tools/typing PrimitiveType.java,1.2,1.3
Brought to you by:
bonniot
|
From: Arjan B. <ar...@us...> - 2004-12-31 18:40:59
|
Update of /cvsroot/nice/Nice/src/nice/tools/typing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31454/F:/nice/src/nice/tools/typing Modified Files: PrimitiveType.java Log Message: Converted ConstantExp. Index: PrimitiveType.java =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/typing/PrimitiveType.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PrimitiveType.java 1 Dec 2004 02:43:53 -0000 1.2 --- PrimitiveType.java 31 Dec 2004 18:40:44 -0000 1.3 *************** *** 37,40 **** --- 37,41 ---- charTC = tc; charType = Types.sureMonotype(new MonotypeConstructor(tc, null)); + charPolytype = new Polytype(charType); return SpecialTypes.charType; } *************** *** 84,87 **** --- 85,89 ---- doubleTC = tc; doubleType = Types.sureMonotype(new MonotypeConstructor(tc, null)); + doublePolytype = new Polytype(doubleType); return SpecialTypes.doubleType; } *************** *** 91,94 **** --- 93,97 ---- floatTC = tc; floatType = Types.sureMonotype(new MonotypeConstructor(tc, null)); + floatPolytype = new Polytype(floatType); return SpecialTypes.floatType; } *************** *** 144,148 **** public static mlsub.typing.Monotype byteType, charType, intType, longType, boolType, shortType, doubleType, floatType, voidType; ! public static Polytype voidPolytype, boolPolytype, bytePolytype, shortPolytype, intPolytype, longPolytype; private static Polytype objectPolytype; --- 147,151 ---- public static mlsub.typing.Monotype byteType, charType, intType, longType, boolType, shortType, doubleType, floatType, voidType; ! public static Polytype voidPolytype, boolPolytype, charPolytype ,bytePolytype, shortPolytype, intPolytype, longPolytype, doublePolytype, floatPolytype; private static Polytype objectPolytype; |