Open jmhodges opened 5 years ago
I took a quick look to see where the change was (I think it's special casing "." at builders/compile.go:214) but didn't immediately see where I should add a test. It's late, so maybe it's obvious and I'm just tired, but I'll take a clue on where to put the test.
(If someone fixed this while I slept, I wouldn't be bummed, of course)
That would pass the strict deps check in the builder, but I don't think the compiler will be happy with it. We'd need a -D <dir>
argument. Possibly also -p command-line-arguments
and a change to the importcfg file.
Related #1645.
Ah fun!
Current versions of mockgen (and probably other tools) generate code with imports like:
That isn't allowed by rules_go's strict dependencies check, but doesn't actually require a new dependency.
Example error: