Test for multiple modules and binding.
auto visitor = visitImports(q{ import foo, bar : aa, bb, cc; }); auto ids = visitor.importGroups[0]; assert(ids[0].fullName == "foo"); assert(ids[0].bindNames.empty); assert(ids[1].fullName == "bar"); assert(equal(ids[1].bindNames, ["aa", "bb", "cc"]));
Decomposes multi module import decl to a list of single module with binds.