mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
Fix folders of items wrt the itemid map
This commit is contained in:
parent
cbbda39688
commit
6bdbf14ecb
4 changed files with 37 additions and 5 deletions
|
|
@ -189,7 +189,10 @@ export function typeck(ast: Ast): Ast {
|
|||
|
||||
const checker: Folder = {
|
||||
...DEFAULT_FOLDER,
|
||||
item(item) {
|
||||
ast() {
|
||||
return ast;
|
||||
},
|
||||
itemInner(item) {
|
||||
switch (item.kind) {
|
||||
case "function": {
|
||||
const fnTy = typeOfItem(item.id, item.span) as TyFn;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue