@samitouri / QOS-React-2 / commits / 549f5a4af6

[typer] Return a narrow-er type from makeType

Sathya Gunasekaran committed Dec 20, 2022 at 14:55 UTC 549f5a4af633621ceaebc41cf8ff9dbfe57e6ba1
1 file changed +1 -1
compiler/forget/src/HIR/HIR.ts
+1 -1
@@ -467,7 +467,7 @@ export type PolyType = {
467 };
468
469 let typeCounter = 0;
470 -export function makeType(): Type {
470 +export function makeType(): TypeVar {
471 return {
472 kind: "Type",
473 name: `t${typeCounter++}`, //TODO(gsn): Use a TypeID here