Skip to content

Commit 63c549a

Browse files
cirrasfourls
authored andcommitted
Fix stack overflow on alias types that reference their containing type
1 parent 4891931 commit 63c549a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Stack overflow on alias types that reference their containing type.
13+
1014
## [1.18.2] - 2025-10-01
1115

1216
### Fixed

delphi-frontend/src/main/java/au/com/integradev/delphi/symbol/SymbolTableBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ private static boolean hasInlineRoutines(DelphiScope scope) {
389389
return scope.getTypeDeclarations().stream()
390390
.map(TypeNameDeclaration::getType)
391391
.filter(Predicate.not(Type::isClassReference))
392+
.filter(Predicate.not(Type::isAlias))
392393
.filter(ScopedType.class::isInstance)
393394
.map(ScopedType.class::cast)
394395
.map(ScopedType::typeScope)

0 commit comments

Comments
 (0)