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

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

[Octave-bug-tracker] [bug #57557] Segmentation fault on use of classdef


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #57557] Segmentation fault on use of classdef constant property
Date: Wed, 8 Jan 2020 11:24:37 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0

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

Hmm...



octave -f -q
octave:1> testCrashConstants.FOO
error: no such file, '/home/dima/scratch/testCrashConstants.m'
error: called from
    <unknown>
octave:2> ls
testCrashConstants.m
octave:3> type testCrashConstants.m
testCrashConstants.m is the user-defined function defined from:
/home/dima/scratch/testCrashConstants.m

classdef testCrashConstants
    properties( Constant = true )

        FOO = 2;
        BAR = 4;
        FOOBAR = testCrashConstants.FOO * testCrashConstants.BAR;
    end
end


octave:4> pwd
ans = /home/dima/scratch
octave:5> 




Dmitri.
-- 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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