Community
Participate
Working Groups
Starting with this snippet: package bug346801; team class Outer { protected team class Mid { protected team class Inner { } } } and creating an innermost role using the wizard and selecting Inner as the bound base class yields: package bug346801; import base bug346801.Outer.Mid.Inner; team class Outer { protected team class Mid { protected team class Inner { protected class Xinner playedBy Inner { } } } } Here the import must not be generated.
Fixed for 2.1 M5 via commit 5edb90c561c0082ee4c880b017f62b0bad4bdcfa - baseTypeStubTypeContext mimics full containment structure of the current type - refuse import if base type and current type have a common enclosing type.
Verified using build 2.2.0.201209221349