Issue 3298 in pharo: [Kernel Dependencies] Object >> #cannotReturn

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3298 in pharo: [Kernel Dependencies] Object >> #cannotReturn

pharo
Status: Accepted
Owner: Benjamin.VanRyseghem.Pharo

New issue 3298 by Benjamin.VanRyseghem.Pharo: [Kernel Dependencies] Object  
>> #cannotReturn
http://code.google.com/p/pharo/issues/detail?id=3298

Strange dependence to ToolSet


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3298 in pharo: [Kernel Dependencies] Object >> #cannotReturn

pharo
Updates:
        Labels: Type-Seed

Comment #1 on issue 3298 by Benjamin.VanRyseghem.Pharo: [Kernel  
Dependencies] Object >> #cannotReturn
http://code.google.com/p/pharo/issues/detail?id=3298

(No comment was entered for this change.)


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3298 in pharo: [Kernel Dependencies] Object >> #cannotReturn

pharo
Updates:
        Status: Fixed

Comment #2 on issue 3298 by Benjamin.VanRyseghem.Pharo: [Kernel  
Dependencies] Object >> #cannotReturn
http://code.google.com/p/pharo/issues/detail?id=3298

This method doesn't seem to be there anymore ...


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3298 in pharo: [Kernel Dependencies] Object >> #cannotReturn

pharo

Comment #3 on issue 3298 by marianopeck: [Kernel Dependencies] Object >>  
#cannotReturn
http://code.google.com/p/pharo/issues/detail?id=3298

the method is #cannotReturn: not #cannotReturn



Reply | Threaded
Open this post in threaded view
|

Re: Issue 3298 in pharo: [Kernel Dependencies] Object >> #cannotReturn

pharo
Updates:
        Status: Closed
        Labels: Unresolvable

Comment #4 on issue 3298 by [hidden email]: [Kernel Dependencies]  
Object >> #cannotReturn
http://code.google.com/p/pharo/issues/detail?id=3298

The solution is probably in the kernel to have

cannotReturn: result

        closureOrNil notNil ifTrue:
                [^self cannotReturn: result to: self home sender].

then when toolset is loaded to have

cannotReturn: result

        closureOrNil notNil ifTrue:
                [^self cannotReturn: result to: self home sender].
        ToolSet
                debugContext: thisContext
                label: 'computation has been terminated'
                contents: nil