diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-08 20:58:04 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-10-08 20:58:04 -0700 |
| commit | 5eb5d523b50e8e8912cf84bf021dc4c95e521a7a (patch) | |
| tree | 20190d08927471c5e9e909875927224e6f0466ad /src/Package/Module.zig | |
| parent | cd4397783f7ae86de867bed3346ea10547a94ee1 (diff) | |
| download | zig-5eb5d523b50e8e8912cf84bf021dc4c95e521a7a.tar.gz zig-5eb5d523b50e8e8912cf84bf021dc4c95e521a7a.zip | |
give modules friendly names for error reporting
Diffstat (limited to 'src/Package/Module.zig')
| -rw-r--r-- | src/Package/Module.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Package/Module.zig b/src/Package/Module.zig index 3502def385..7e6b518892 100644 --- a/src/Package/Module.zig +++ b/src/Package/Module.zig @@ -6,6 +6,8 @@ root: Package.Path, /// Relative to `root`. May contain path separators. root_src_path: []const u8, +/// Name used in compile errors. Looks like "root.foo.bar". +fully_qualified_name: []const u8, /// The dependency table of this module. Shared dependencies such as 'std', /// 'builtin', and 'root' are not specified in every dependency table, but /// instead only in the table of `main_mod`. `Module.importFile` is |
