[Patch, fortran] PR37274 - [Regression] error: type name is ambiguous and PR36374 - nested module inclusion fails
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu Sep 4 10:21:00 GMT 2008
Salvatore,
> Hmmmm. Forgive me if I'm being naive, but just by reading the patch
> code, and not knowing the rest, I am not sure what happens in case of a
> real ambiguity, such as trying to add to the same generic two different
> routines that use indistinguishable arguments. Could you ease my concern
> and confirm that they are resolved in the following mini-example?
Yes, they are correctly resolved, whether the generic 'foobar' is
referenced or not.
I should explain that the patch determines whether or not the symbol
'foobar' is ambiguous or not. The question of the interfaces is
handled elsewhere.
I think that I might well add your testcase, if I do not see an
equivalent in the testsuite.
Cheers
Paul
More information about the Fortran
mailing list