octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60489] Erroneous duplicate method declaration


From: Rik
Subject: [Octave-bug-tracker] [bug #60489] Erroneous duplicate method declaration in classdef file does not generate an error
Date: Sun, 2 May 2021 21:42:01 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36

Follow-up Comment #2, bug #60489 (project octave):

Just an observation, in classdef files there can be multiple functions with
the same name, as long as they have different calling signatures.  My guess is
that it was simplest to just disable duplicate method validation when classdef
was first implemented, and no one got around to improving things.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60489>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]