diff options
| author | gingerBill <bill@gingerbill.org> | 2018-05-27 11:40:27 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-05-27 11:40:27 +0100 |
| commit | df578d6ec58e678e30b90601550f82ac4153b3e8 (patch) | |
| tree | 086e3f1982b7e2ead03c4e2c47fa9343c768fcfd /src/checker.cpp | |
| parent | 6aae381e83dddf8808feefe4a5a2470320f27342 (diff) | |
Allow for either .odin file or directory as the initial start
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index f1ec0d182..92595d580 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -2532,7 +2532,7 @@ void check_add_import_decl(Checker *c, AstNodeImportDecl *id) { GB_ASSERT(scope->is_package && scope->package != nullptr); if (scope->is_global) { - error(token, "Importing a runtime package is disallowed and unnecessary"); + error(token, "Importing a built-in package is disallowed and unnecessary"); return; } @@ -2567,7 +2567,7 @@ void check_add_import_decl(Checker *c, AstNodeImportDecl *id) { if (id->is_using) { if (parent_scope->is_global) { - error(id->import_name, "'runtime' package imports cannot use using"); + error(id->import_name, "'builtin' package imports cannot use using"); return; } |