code: def __ensure_type (targets):
      
      assert is_iterable_typed(targets, virtual_target.VirtualTarget)
      for t in targets:
          if not t.type ():
              get_manager().errors()("target '%s' has no type" % str (t))
docs: Ensures all 'targets' have types. If this is not so, exists with
          error.