Updates:
        Status: FixProposed

Comment #3 on issue 3457 by marcus.d...@gmail.com: Cannot show new CompiledMethod's asString
http://code.google.com/p/pharo/issues/detail?id=3457

We should change CompiledMethod to give an error when doing a #new.

The comment reads:

        "This will not make a meaningful method, but it could be used
        to invoke some otherwise useful method in this class."

both #new: and basicNew: say:

self error: 'CompiledMethods may only be created with newMethod:header:'

The attached changeset removed both #new and #new: and adds #basicNew to raise an error.


Attachments:
        CompiledMethodInstantiation.1.cs  366 bytes


Reply via email to