Originally at 2014-08-28T15:51:58Z by mandorman@github closed at 2014-09-08T14:11:33Z
Dear Nicolas,
I performed the successfully the nice (and quick) introduction into smalltalk via the web. It works perfectly, but I got a error on issue 22 (Reflexion) when I try to compile a new method on the fly.
|newMethod|
newMethod := Compiler new load: 'goToNextLesson ProfStef next.' forClass: ProfStef.
ProfStef class addCompiledMethod: newMethod
"Wow! I can't wait to use my new method!"
ProfStef goToNextLesson.
So, when I execute:
newMethod := Compiler new load: 'goToNextLesson ProfStef next.' forClass: ProfStef., I got this error :
a Compiler does not understand #load:forClass:
Cheers,
Originally at 2014-08-28T15:51:58Z by mandorman@github closed at 2014-09-08T14:11:33Z
Dear Nicolas,
I performed the successfully the nice (and quick) introduction into smalltalk via the web. It works perfectly, but I got a error on issue 22 (Reflexion) when I try to compile a new method on the fly.
```
|newMethod|
newMethod := Compiler new load: 'goToNextLesson ProfStef next.' forClass: ProfStef.
ProfStef class addCompiledMethod: newMethod
"Wow! I can't wait to use my new method!"
ProfStef goToNextLesson.
```
So, when I execute:
**newMethod := Compiler new load: 'goToNextLesson ProfStef next.' forClass: ProfStef.**, I got this error :
*a Compiler does not understand #load:forClass:*
Cheers,
Originally at 2014-08-28T15:51:58Z by mandorman@github closed at 2014-09-08T14:11:33Z
Dear Nicolas,
I performed the successfully the nice (and quick) introduction into smalltalk via the web. It works perfectly, but I got a error on issue 22 (Reflexion) when I try to compile a new method on the fly.
So, when I execute: newMethod := Compiler new load: 'goToNextLesson ProfStef next.' forClass: ProfStef., I got this error : a Compiler does not understand #load:forClass:
Cheers,