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

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

[Octave-bug-tracker] [bug #49169] overriding @super/class method, builti


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor
Date: Tue, 27 Sep 2016 20:45:29 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #10, bug #49169 (project octave):

Surprisingly (to me), that is indeed an error:


>> builtin('class', struct(), 'foo', bar)
Error using class
The CLASS function must be called from a class constructor.


I can see why its a bad idea, but I don't see why its an error: I must be
programming too much Python


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49169>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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