Bug 150988 - Patch: Correct C# constructors (no return type)
Summary: Patch: Correct C# constructors (no return type)
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-18 17:19 UTC by Ferenc Veres
Modified: 2013-11-06 17:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.0.0
Sentry Crash Report:


Attachments
C# code generator constructor won't add return type (825 bytes, patch)
2007-10-18 17:22 UTC, Ferenc Veres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ferenc Veres 2007-10-18 17:19:35 UTC
Version:           SVN 3.5 trunk (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

I'll attach a patch file, which removes return type from C# code generator's constructor and destructor (using ->isLifeOperation() call). (Once I can pass this long bug report wizard. :-) )

The bug was: constructors had a return type, 'void' when not specified, which is incorrect.
Comment 1 Ferenc Veres 2007-10-18 17:22:16 UTC
Created attachment 21851 [details]
C# code generator constructor won't add return type

Please check if the file was created from the correct directory using svn diff.
This is for 3.5 trunk.
Comment 2 Oliver Kellogg 2007-10-23 21:22:03 UTC
SVN commit 728591 by okellogg:

writeOperations(): Attachment 21851 [details] from Ferenc Veres suppresses the
 return type on constructors. Thanks Ferenc for the fix.
BUG:150988


 M  +8 -6      csharpwriter.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=728591
Comment 3 Ralf Habacker 2013-11-06 17:34:57 UTC
set version-fixed-in from 4.0.0 changelog