diff --git a/Documentation/KnownIssues.md b/Documentation/KnownIssues.md deleted file mode 100644 index 446901c0..00000000 --- a/Documentation/KnownIssues.md +++ /dev/null @@ -1,28 +0,0 @@ -# Known Issues - -This is a list of common (sometimes confusing) issues developers regularly run into when using Weaver. - -### 1. Ambiguous reference to member 'register(_:scope:name:builder:)' - -This usually happens when a dependency is registered correctly with a protocol without implementing it. - -For example: - -```swift -final class AppDelegate { - // weaver: apiManager = APIManager <- APIManaging - // weaver: apiManager.scope = .container -} - -protocol APIManaging { ... } - -final class APIManager { // `: APIManaging` is missing here. - ... -} -``` - -Weaver doesn't catch this, but the compilation fails with an error in `Weaver.AppDelegate.swift`: - -``` -Ambiguous reference to member 'register(_:scope:name:builder:)' -```