[etoys-notify] [JIRA] Commented: (SQ-710) DecompileConstruktor>>codeMethod:block:tempVars:primitive:class:

Karl Ramberg (JIRA) tracker at squeakland.org
Tue Jun 8 16:51:07 EDT 2010


    [ http://tracker.squeakland.org/browse/SQ-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39261#action_39261 ] 

Karl Ramberg commented on SQ-710:
---------------------------------

Hi Karl,

    so the problem is passing in a nil selector to Decompiler>>decompile:in:method:.  What's the implementation of CompiledMethod>>decompileString ?  

A reasonable fix would be for Decompiler>> decompile:in:method:using: to end with

	^constructor
		codeMethod: (aSelector ifNil: [method defaultSelector])
		block: block
		tempVars: tempVars
		primitive: method primitive
		class: aClass

instead of

	^constructor
		codeMethod: aSelector
		block: block
		tempVars: tempVars
		primitive: method primitive
		class: aClass


cheers,
Eliot


> DecompileConstruktor>>codeMethod:block:tempVars:primitive:class:
> ----------------------------------------------------------------
>
>                 Key: SQ-710
>                 URL: http://tracker.squeakland.org/browse/SQ-710
>             Project: squeakland
>          Issue Type: Bug
>          Components: etoys-linux
>            Reporter: Karl Ramberg
>            Priority: Blocker
>             Fix For: etoys 2010
>
>
> Removing a instance variable from a viewer when the variable is part of a script is broken.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list