build: separate package identity from storage paths
This commit is contained in:
@@ -629,7 +629,9 @@ export fn parsefile(p: *parser) *node = {
|
||||
|| strings.compare(name, "main_test") == 0);
|
||||
if (strings.compare(name, last) != 0 && !testsupport
|
||||
&& !commandpackage) {
|
||||
errmsg(p, "package does not match import path");
|
||||
errmsg(p, strings.concat(strings.concat(strings.concat(
|
||||
"package ", name),
|
||||
" does not match import path "), active));
|
||||
};
|
||||
} else {
|
||||
p.curmod = name;
|
||||
|
||||
Reference in New Issue
Block a user