[Swift-devel] Call function.

Mihael Hategan hategan at mcs.anl.gov
Mon Aug 15 01:21:47 CDT 2011


On Mon, 2011-08-15 at 01:01 -0500, Jonathan Monette wrote:
> Well that case should be valid shouldn't it?  I may have misunderstood
> the validity of overwritten functions.  I know in Java you could have
> several methods named with the same identifier and which method that
> was called was determined at compile time based on the argument
> signature.  So this seems like it should be a valid case but again I
> may have misunderstood the discussion on re-defining functions.

Sorry. It meant them to have different names. But you make a valid
point. So the question is whether we want to support simple
polymorphism.





More information about the Swift-devel mailing list