     return malformed ctx, call, 'req requires a module name to require from'
   moduleNameAtom.label = 'module'
   declaredModuleName = moduleNameAtom.symbol
-  requiredNames =
-  names:  (arrayToSet (filter _is, (map _symbol, reqs)))
+  requiredNames = (arrayToSet (filter _is, (map _symbol, reqs)))
   moduleName = (resolveModuleName ctx, declaredModuleName)
   ctx.req moduleName, requiredNames
   if ctx.isModuleLoaded moduleName

  isRequesting: ->
    @_requesting

  addSubmodule: (name) ->
    addToSet @submodules, name

  isSubmodule: (name) ->
    inSet @submodules, name

  #   (exportAll ctx, (join (importAny defaultImports), (topLevel ctx, form))))]
  definitions = (join (importAny defaultImports), (topLevel ctx, form))
  shouldBeExported = (name, declaration) ->
    not declaration.virtual and declaration.final
  isExported = (name, exported) ->
    exported
  nonVirtual = filterMap shouldBeExported, ctx._scope()
  exported = concatSets (subtractSets nonVirtual, builtInDefinitions()),
    (filterMap isExported, ctx.submodules) # TODO: separate exporting namespaces according to the separation of namespaces
  exportList = map validIdentifier, (setToArray exported)
  exportDictionary = (jsDictionary exportList, exportList)
  [..., type] = typedModulePath.types
