mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 17:05:03 +01:00
rename AST items
This commit is contained in:
parent
f05e5520f3
commit
cdbb26352e
6 changed files with 44 additions and 44 deletions
|
|
@ -9,14 +9,14 @@ import {
|
|||
Item,
|
||||
ItemId,
|
||||
LocalInfo,
|
||||
ModItem,
|
||||
ItemMod,
|
||||
Resolution,
|
||||
Resolved,
|
||||
mkDefaultFolder,
|
||||
superFoldExpr,
|
||||
superFoldItem,
|
||||
superFoldType,
|
||||
ExternItem,
|
||||
ItemExtern,
|
||||
} from "./ast";
|
||||
import { GlobalContext } from "./context";
|
||||
import { CompilerError, Span } from "./error";
|
||||
|
|
@ -43,7 +43,7 @@ function loadCrate(cx: Context, name: string, span: Span): Map<string, ItemId> {
|
|||
|
||||
function resolveModItem(
|
||||
cx: Context,
|
||||
mod: ModItem<Built> | ExternItem,
|
||||
mod: ItemMod<Built> | ItemExtern,
|
||||
item: Item<Built>,
|
||||
name: string,
|
||||
): ItemId | undefined {
|
||||
|
|
@ -204,7 +204,7 @@ function resolveModule(
|
|||
|
||||
loadCrate(cx, item.node.name, item.span);
|
||||
|
||||
const node: ExternItem = {
|
||||
const node: ItemExtern = {
|
||||
...item.node,
|
||||
};
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue