GLMCompositePresentation did not understand #wrapper

Bug #1864537 reported by hilaire on 2020-02-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II
Critical
Unassigned

Bug Description

When the user wants to edit a script and when clicking on a script there is this error.

The method DrGScriptBrowser>>methodsIn: contains a lot of broken code now: #wrapper and #defaultPane are now unknown messages :(

methodsIn: composite
 composite wrapper title: 'Methods' translated;
  show: [ :wrapper |
   wrapper fastList
    display: [ :aClass | aClass methods collect: [ :m | m asRingDefinition ]];
    format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
 composite wrapper title: 'Script data' translated;
  show: [ :wrapper |
   wrapper fastList
    display: [ :aClass | aClass class methods collect: [ :m | m asRingDefinition ]];
    format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
 composite
  updateOn: MethodModified from: [ SystemAnnouncer uniqueInstance ];
  updateOn: MethodAdded from: [ SystemAnnouncer uniqueInstance ].
 composite onChangeOfPort: #activePresentation act: [ :presentation |
  (presentation pane port: #activePresentation) value ifNotNil: [ :activePresentation |
   ((browser paneNamed: #methods) port: #selection) value: (activePresentation defaultPane port: #selection) value ] ].

tags: added: pharo8
tags: added: script
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers