Workspace/Playground behavior change for unknown "bindings"?
Hey, I recently showed Pharo to a friend and one thing I like doing is to open a playground/workspace and then write and execute: Person new name: '...'; age: 2342; yourself In old versions of Pharo I would get a popup like "Person" not known and asking me if I want to create a class. In Pharo6.1 I did get an error. Was this intentional? holger
On 7 February 2018 at 05:35, Holger Freyther <holger@freyther.de> wrote:
Hey,
I recently showed Pharo to a friend and one thing I like doing is to open a playground/workspace and then write and execute:
Person new name: '...'; age: 2342; yourself
In old versions of Pharo I would get a popup like "Person" not known and asking me if I want to create a class. In Pharo6.1 I did get an error. Was this intentional?
Intentional or not, thats a really simple quick demo that would be good make it possible. cheers -ben
Hello, Yes, this is a bug⦠I have a fix and planned to merge it this week. https://pharo.fogbugz.com/f/cases/20254/Playground-should-ask-to-create-clas...
On 6 Feb 2018, at 22:35, Holger Freyther <holger@freyther.de> wrote:
Hey,
I recently showed Pharo to a friend and one thing I like doing is to open a playground/workspace and then write and execute:
Person new name: '...'; age: 2342; yourself
In old versions of Pharo I would get a popup like "Person" not known and asking me if I want to create a class. In Pharo6.1 I did get an error. Was this intentional?
holger
Haha, same annoyance to me when I demonstrate. Norbert
Am 06.02.2018 um 22:35 schrieb Holger Freyther <holger@freyther.de>:
Hey,
I recently showed Pharo to a friend and one thing I like doing is to open a playground/workspace and then write and execute:
Person new name: '...'; age: 2342; yourself
In old versions of Pharo I would get a popup like "Person" not known and asking me if I want to create a class. In Pharo6.1 I did get an error. Was this intentional?
holger
Ok, pull request for Pharo7: https://github.com/pharo-project/pharo/pull/806 <https://github.com/pharo-project/pharo/pull/806> we should add that to Pharo6, too (Slice is already in the inbox) Marcus
On 7 Feb 2018, at 09:37, Norbert Hartl <norbert@hartl.name> wrote:
Haha, same annoyance to me when I demonstrate.
Norbert
Am 06.02.2018 um 22:35 schrieb Holger Freyther <holger@freyther.de>:
Hey,
I recently showed Pharo to a friend and one thing I like doing is to open a playground/workspace and then write and execute:
Person new name: '...'; age: 2342; yourself
In old versions of Pharo I would get a popup like "Person" not known and asking me if I want to create a class. In Pharo6.1 I did get an error. Was this intentional?
holger
On 7 Feb 2018, at 09:58, Marcus Denker <marcus.denker@inria.fr> wrote:
Ok, pull request for Pharo7:
https://github.com/pharo-project/pharo/pull/806 <https://github.com/pharo-project/pharo/pull/806>
we should add that to Pharo6, too (Slice is already in the inbox)
The idea is that this is the first step, we need to simplify the whole Requester-Scope story later. (I was waiting to remove the old compiler *and* start to deprecate the old Api before doing that). But it fixes the problem and is a first step. Marcus
On 7. Feb 2018, at 08:58, Marcus Denker <marcus.denker@inria.fr> wrote:
Ok, pull request for Pharo7:
https://github.com/pharo-project/pharo/pull/806
we should add that to Pharo6, too (Slice is already in the inbox)
lovely! Thank you!
participants (4)
-
Ben Coman -
Holger Freyther -
Marcus Denker -
Norbert Hartl