Re: [Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Marcus Denker
> On 28 Jun 2016, at 15:09, Guillermo Polito wrote: > > Ding dong Marcus! > > … is on Holidays… with the option #optionParseErrors you can compile code with syntax errors: method := Smalltalk compiler class: UndefinedObject; options: #(+

Re: [Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Thierry Goubier
Le 28/06/2016 15:03, Nicolas Passerini a écrit : Still, I think it would be nice to be able to save a method even when it does not compile. I believe it would be better to be able to manipulate, inspect and edit properly virtual methods (MCMethodDefinition, RB-created methods) given that

Re: [Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Guillermo Polito
Ding dong Marcus! Le 28 juin 2016 15:04, "Nicolas Passerini" a écrit : > Still, I think it would be nice to be able to save a method even when it > does not compile. > > On Tue, Jun 28, 2016 at 2:52 PM, Peter Uhnák wrote: > >> Yeah I guess that's not

Re: [Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Cyril Ferlicot Delbecque
On 28/06/2016 15:03, Nicolas Passerini wrote: > Still, I think it would be nice to be able to save a method even when it > does not compile. > I think Marcus added the possibility to do that in Pharo 6 as a Setting. -- Cyril Ferlicot http://www.synectique.eu 165 Avenue Bretagne Lille 59000

Re: [Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Nicolas Passerini
Still, I think it would be nice to be able to save a method even when it does not compile. On Tue, Jun 28, 2016 at 2:52 PM, Peter Uhnák wrote: > Yeah I guess that's not such a bad idea, to have a TemplateClass that > would contain just the template methods, so I don't need to

Re: [Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Peter Uhnák
Yeah I guess that's not such a bad idea, to have a TemplateClass that would contain just the template methods, so I don't need to worry about conflicting instance variables. Peter On Tue, Jun 28, 2016 at 2:08 PM, Ben Coman wrote: > On Tue, Jun 28, 2016 at 5:55 PM, Peter

Re: [Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Ben Coman
On Tue, Jun 28, 2016 at 5:55 PM, Peter Uhnak wrote: > Hi, > > is it possible to accept a method without creating instance variable? > > E.g. > > ~~ > Object subclass: #MyObject > slots: { } > classVariables: { } > category:

[Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Peter Uhnak
Hi, is it possible to accept a method without creating instance variable? E.g. ~~ Object subclass: #MyObject slots: { } classVariables: { } category: 'Category' ~~ ~~ MyObject>>addValue: aValue