Skip to content

Commit

Permalink
Merge pull request #917 from pharo-spec/dev-2.0
Browse files Browse the repository at this point in the history
fix a baseline problem
  • Loading branch information
estebanlm authored Dec 3, 2024
2 parents 2b0c908 + 0ccb49e commit 8e80184
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BaselineOfNewTools/BaselineOfNewTools.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ BaselineOfNewTools >> baseline: spec [
'NewTools-DebuggerSelector'
'NewTools-DebuggerSelector-Tests' );
group: 'FileBrowser' with: #(
'NewTools-FileBrowser'
'NewTools-FileBrowser'
'NewTools-FileBrowser-Morphic'
'NewTools-FileBrowser-Tests' );
group: 'RewriterTools' with: #(
'NewTools-RewriterTools-Backend'
Expand Down
24 changes: 24 additions & 0 deletions src/NewTools-Inspector-Extensions/WaitfreeQueue.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Extension { #name : 'WaitfreeQueue' }

{ #category : '*NewTools-Inspector-Extensions' }
WaitfreeQueue >> inspectionItemsOn: builder [
<inspectorPresentationOrder: 910 title: 'Items'>
| items |

items := Array streamContents: [ :stream |
| item count |

item := dummy.
count := 0.
[
item := item next.
item == dummy
ifFalse: [ stream nextPut: item object ].
item isCircular
] whileFalse
].

^ builder newList
items: items;
yourself
]

0 comments on commit 8e80184

Please sign in to comment.