-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Suppose nested type Outer.Middle.Inner: in some scenarios the generated code will not compile because of nesting level mismatch between type and import:
// from ImportWriterVisitor
import com.google.testgapic.v1beta1.Outer.Middle;
// from JavaWriterVisitor
Outer.Middle.Inner myVariable;
There are possibly other discrepancies with nested class handling (e.g. for ConcreteReference vs. VaporReference) to be investigated. (See f505036 for additional tests illustrating unintended behavior)
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.