Skip to content

Commit

Permalink
Merge pull request #41 from oliveiraallex/Fix-Pharo-8-Remote-Playgrou…
Browse files Browse the repository at this point in the history
…nd-and-Browser

Fix Pharo 8 Remote Playground and Browser (Telepharo issue #33)
  • Loading branch information
oliveiraallex authored May 21, 2020
2 parents cc476b5 + 692dd62 commit 6552593
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Seamless-GTSupport/SeamlessRemoteClassCompiler.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ SeamlessRemoteClassCompiler >> evaluate [
ifTrue: [ itsSelectionString ]
ifFalse: [ source ].
self source: selectedSource.
doItMethod := self parse methodNode generateWithSource.

"Keeping compability with Pharo 7"
(OpalCompiler canUnderstand: #transformDoit)
ifTrue: [ self parse. doItMethod := self transformDoit methodNode generateWithSource ]
ifFalse: [ doItMethod := self parse methodNode generateWithSource ].

value := receiver withArgs: (context ifNil: [ #() ] ifNotNil: [ {context} ]) executeMethod: doItMethod.
self compilationContext logged
ifTrue: [ Smalltalk globals
Expand Down

0 comments on commit 6552593

Please sign in to comment.