Skip to content

Commit 2217ce0

Browse files
Merge branch 'main' into 351-getting-stub-instead-of-real-type-in-followcustomcondition
2 parents 0dd80b3 + 230adff commit 2217ce0

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/label-issues.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Label issues
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
jobs:
7+
label_issues:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
steps:
12+
- run: gh issue edit "$NUMBER" --add-label "needs-triage"
13+
env:
14+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
GH_REPO: ${{ github.repository }}
16+
NUMBER: ${{ github.event.issue.number }}

ArchUnitNET/Loader/TypeFactory.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,12 @@ IEnumerable<int> arrayDimensions
404404
genericArguments,
405405
arrayDimensions
406406
);
407+
case UnavailableType unavailableType:
408+
return new TypeInstance<UnavailableType>(
409+
unavailableType,
410+
genericArguments,
411+
arrayDimensions
412+
);
407413
default:
408414
throw new ArgumentException("Subtype of IType not recognized");
409415
}

0 commit comments

Comments
 (0)