query
On this page

setDefaultModuleLocation

lib.setDefaultModuleLocation

Docs pulled from | This Revision | 10 minutes ago


Wrap a module with a default location for reporting errors.

Inputs

file

1. Function argument

m

2. Function argument


Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

setDefaultModuleLocation = file: m: {
    _file = file;
    imports = [ m ];
  };