When using
SomeClass compile: someSourceString
the symbol containing method's name is returned. Is there any reason why not an instance of CompiledMethod
is returned? There are couple of tests like:
tutu compile: 'foo'.
self deny: (tutu >> #foo) allLiterals last key isNil.
Is there any method that returns a compiled method like:
compileMethod: aString
^ self >> (self compile: aString)