Commit 37288fd
Fix sublibrary QA Aqua piracy via treat_as_own for owned types (#616)
The ArrayPartitionAnyAll and ShorthandConstructors sublibrary QA groups
(added in #614) fail Aqua's piracy check because they extend Base
functions on RecursiveArrayTools-owned types:
* ArrayPartitionAnyAll: any/all on ArrayPartition
* ShorthandConstructors: getindex(::Type{VA}, ...), getindex(::Type{AP}, ...)
These are intentional methods on types the sublibraries hard-depend on, not
type piracy. Pass them via Aqua.test_all(...; piracies = (; treat_as_own = ...))
so the owned-type extensions are not flagged.
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f3b56b5 commit 37288fd
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
0 commit comments