moosetechnology / Moose

MOOSE - Platform for software and data analysis.
https://moosetechnology.github.io/moose-wiki
MIT License
135 stars 34 forks source link

Inconsistent inspector variables values #1082

Closed seandenigris closed 7 years ago

seandenigris commented 9 years ago

Originally reported on Google Code with ID 1082

Describe the problem: what do you get? what do you expect?

In the Moose Inpector, the value of a variable in the list is not equal to the printed
value in the inspector evaluator part. See png attached.

How to reproduce the problem: step by step if necessary

create a class (Test) with a IV (test) and a initialize method (
initialize 
    test := #test
)
inspect : "Test new "
In the evaluator of the inspector, Print it "test". The value should be nil which is
not expected.

Additional information: platform, context which may impact the problem

Moose latest - W7

Please fill in the labels with the following information:
* Type-Defect
* Component-GTInspector

Reported by v.blondeau92 on 2014-07-16 14:48:42

seandenigris commented 9 years ago
As far as I understand, your expectation would be that the instance variables be provided
in the evaluator. This is not the case right now, because we wanted to keep things
simple. At this moment, we only have "self" bound to a value, and nothing else. Hence,
when you will print an instance variable it will appear as undefined.

It is still a thing we are thinking about, though, but we are talking about a feature,
not a bug.

Reported by tudor@tudorgirba.com on 2014-07-16 14:56:16

seandenigris commented 9 years ago
Alright. So I suggest this as a feature ;)

Reported by v.blondeau92 on 2014-07-16 15:03:35

girba commented 7 years ago

This works now.