You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ModuleSource.withDependencies fails when the target module source is created with Directory.asModuleSource.
This is not specific to module execution. It reproduces from a normal Dagger client. A nested helper does not avoid the bug if it constructs module sources with Directory.asModuleSource, because the resulting source kind is DIR_SOURCE.
This appears to be a validation gap. moduleConfigDependencyForRelatedSource already handles DIR_SOURCE -> DIR_SOURCE and can compute the relative dependency source path. The failure happens earlier, in validateAndCollectRelatedModules, which rejects DIR_SOURCE.
Activity