Skip to content

Commit d9b6d9b

Browse files
committed
Avoid infinite loop in [Language=python] edge case
1 parent 8e24c21 commit d9b6d9b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.1.2] - Unreleased
9+
10+
### Fixed
11+
- #75: Avoid infinite loop when first class in alphabetical order has a `[ Language = python ]`
12+
813
## [4.1.1] - 2025-11-24
914

1015
### Fixed

cls/TestCoverage/Utils/LineByLineMonitor.cls

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ ClassMethod Start(Routine As %List, Metric As %List, Process As %List) As %Statu
196196
Set pointer = 0
197197
Set found = 0
198198
While $ListNext(Routine,pointer,routine) {
199+
if $piece(routine, ".", *) = "py" {
200+
continue
201+
}
199202
Set rtnname = routine_".obj"
200203
For {
201204
Set data = ""

0 commit comments

Comments
 (0)