[RFC] Constructor patch
Damian Rouson
damian@rouson.net
Wed Oct 27 21:21:00 GMT 2010
Wow -- great news that you're down to 29 so fast. It sounds like the
wind is in your sails. :)
The other test case I have uses allocatable-length character
variables. I don't think gfortran supports that feature yet, but I'm
attaching it just in case it sparks any ideas.
Damian
On Wed, Oct 27, 2010 at 11:46 AM, Tobias Burnus <burnus@net-b.de> wrote:
> Damian Rouson wrote:
>>
>> Thanks for copying me on this. I'm excited to see the progress. A
>> test case is attached to this e-mail.
>
> Works. The commented line,
> ! a = mycomplex(argument=5.6, modulus=1.0)
> only worked after I also removed the "private" from the mycomplex_module,
> which was to be expected.
>
> The test is nice as it works -- and as I had actually forgotten that one can
> have also a program where the generic procedure and the structure
> constructor have an ambiguous interface, which is only distinguished by the
> keywords=.
>
> Tobias
>
> PS: I have now fixed the IMPORT issue, which brings down the failures from
> 51 to 29. I assume some of the remaining failures will be more difficult,
> but let's see...
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: astronaut.F90
Type: application/octet-stream
Size: 924 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20101027/15e5ed41/attachment.obj>
More information about the Fortran
mailing list