[Nice-commit] Nice/src/bossa/modules Package.java,1.120,1.121
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-10-07 15:30:08
|
Update of /cvsroot/nice/Nice/src/bossa/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9115/src/bossa/modules Modified Files: Package.java Log Message: Reworked the hierarchy of classes representing constructors. bossa.syntax.Constructor is now a super-class for DefaultConstructor (default constructor in source packages) and ImportedConstructor (constructor imported from a compiled package, default or not). This allows to factor handling of default constructors, and in particular to provide the specialized error messages for imported default constructors. Index: Package.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/modules/Package.java,v retrieving revision 1.120 retrieving revision 1.121 diff -C2 -d -r1.120 -r1.121 *** Package.java 10 Aug 2004 17:22:19 -0000 1.120 --- Package.java 7 Oct 2004 15:29:31 -0000 1.121 *************** *** 630,634 **** method = method.getNext()) { ! Definition d = CustomConstructor.load(def, method); if (d != null) definitions.add(d); --- 630,634 ---- method = method.getNext()) { ! Definition d = ImportedConstructor.load(def, method); if (d != null) definitions.add(d); |