[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52582] Dependent constant properties cause a
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #52582] Dependent constant properties cause a crash |
Date: |
Mon, 4 Dec 2017 18:55:52 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #4, bug #52582 (project octave):
The segmentation fault is the same from type () as it is for invoking the file
to create an instance of an object. The issue is that the first time Octave
needs an m-file, for whatever reason, it parses it. And since this file
doesn't parse correctly it causes some sort of error.
I think the other two issues should be opened as independent bug reports. One
should be able to say 'type classfile' and have it work. Indeed, this works
if you specifically give it the name of the file
type Crash.m
The file type.m can be inspected to see what is going on. The problem is that
exist ("Crash")
returns "Built-in Function". All classdef files do this, which is incorrect.
There is a bug report about that already.
The second issue, at least minimal help for the "classdef" keyword, is a new
issue report. There is a file libinterp/op-kw-docs which contains help text
for keywords and operators. It probably needs the addition of "classdef",
"properties", "enumeration", etc.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52582>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/