#1754 Override vs overload in docLang

dex Sun 15 Jan 2012

In the Structure Overview section of docLang, I think there is a typo. I believe the word "overridden" in the following sentence:

"All slots are keyed by a unique name. This means Fantom does not support methods overridden by parameter type like Java or C#."

Should be replaced with "overloaded".

DanielFath Sun 15 Jan 2012

I think the syntax of override is based on the override keyword, which is used to overload methods.

alex_panchenko Sun 15 Jan 2012

http://en.wikipedia.org/wiki/Function_overloading http://en.wikipedia.org/wiki/Method_overriding

DanielFath Sun 15 Jan 2012

Whoops, my bad. I kinda confuse those two. In that light yeah, it's probably an error.

brian Mon 16 Jan 2012

Should be replaced with "overloaded".

Thanks I pushed a fix, the proper term is overloaded not overridden

Login or Signup to reply.