Hey guys,

I'm starting to see problems related struct namespacing with extensions.
For example:

I have the following definition in file: "aaa.swift":
public struct aaa {
   public struct bbb {
      public struct ccc{
      ...
      }
   }
}

I have a second find: "bbb.swift" that tries to use:
aaa.bbb.ccc but it would say ccc is not a member of aaa.bbb.

If I move the code to file "aaa.swift" then the compile would work.

What I noticed is that this isn't deterministic either, it would happen for
only a few namespaces in certain files.

Am I doing something wrong?

Thanks,
*Victor Leong *|* Software Developer*
victor.le...@visiercorp.com
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to