[Uml-devel] [Bug 142093] Ada code generator always generates methods abstract even if abstract box not checked
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Feb 23 06:39:51 UTC 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=142093
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From okellogg users sourceforge net 2007-02-23 07:39 -------
SVN commit 636438 by okellogg:
writeOperation(): Evaluate UMLObject::m_bAbstract on generating abstractness.
BUG:142093
M +2 -0 ChangeLog
M +3 -3 umbrello/codegenerators/adawriter.cpp
--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #636437:636438
@ -19,6 +19,8 @
* C++ code generator does not correctly define namespaces (141876)
* Ada code generator generates "withs" in both directions for certain
associations (141956)
+* Ada code generator always generates methods abstract even if abstract box
+ not checked (142093)
Version 1.5.61
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/adawriter.cpp #636437:636438
@ -516,9 +516,9 @
ada << ")";
if (! use_procedure)
ada << " return " << rettype;
- ada << " is abstract;" << m_endl << m_endl;
- // TBH, we make the methods abstract here because we don't have the means
- // for generating meaningful implementations.
+ if (op->getAbstract())
+ ada << " is abstract";
+ ada << ";" << m_endl << m_endl;
}
QStringList AdaWriter::defaultDatatypes() {
More information about the umbrello-devel
mailing list