[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55746] interpreter fails to instantiate class
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #55746] interpreter fails to instantiate classdef with classdef properties |
Date: |
Mon, 4 Mar 2019 14:36:42 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299 |
Follow-up Comment #5, bug #55746 (project octave):
There was an interaction with my .octaverc file.
Here is a hopefully self-contained version. Execute with
octave --no-init-file --no-site-file --norc use_pckg.m
% script use_pckg
pkg('prefix', '/tmp', '/tmp');
ans
ver = version
hg_id = __octave_config_info__.hg_id
whos
if 0
clear ans
end
cls1_inst = pckg.cls1
After execution of the pkg command ans contains '/tmp/'. Clearing ans allows
to instantiate pckg.cls1
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55746>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55746] interpreter fails to instantiate classdef with classdef properties,
A.R. Burgers <=