more item cleanup

This commit is contained in:
nora 2023-08-03 13:50:14 +02:00
parent b021a9e218
commit 73a369730b
12 changed files with 104 additions and 88 deletions

View file

@ -234,7 +234,7 @@ function parseItem(t: State): [State, Item<Parsed>] {
[t, init] = parseExpr(t);
[t] = expectNext(t, ";");
const global: ItemGlobal<Parsed> & Item<Parsed> = {
const global: ItemGlobal<Parsed> = {
kind: "global",
name: name.ident,
type,