[typer] Return a narrow-er type from makeType

This commit is contained in:
Sathya Gunasekaran
2022-12-20 14:55:48 +00:00
parent 828fd81be3
commit 549f5a4af6
+1 -1
View File
@@ -467,7 +467,7 @@ export type PolyType = {
};
let typeCounter = 0;
export function makeType(): Type {
export function makeType(): TypeVar {
return {
kind: "Type",
name: `t${typeCounter++}`, //TODO(gsn): Use a TypeID here