It is still type 2 piracy as name is defined in module A and module B is extending its functionality. Module B owns the struct, but not the method.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Minimal working example that demonstrates the danger of type piracy | 9 | 1069 | August 24, 2021 | |
| Is dispatch on another type's parameter (::NotMyType{MyType}) piracy? | 32 | 753 | May 29, 2024 | |
| How to detect/avoid type piracy? | 77 | 2461 | June 14, 2024 | |
| Is it OK to structure my packages like this (benign type piracy)? | 5 | 396 | March 6, 2025 | |
| Clarification on type piracy | 38 | 3612 | September 17, 2017 |