mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
fmt
This commit is contained in:
parent
761f78de0b
commit
09ae6cbb56
5 changed files with 6 additions and 7 deletions
|
|
@ -316,7 +316,7 @@ export class InferContext {
|
|||
|
||||
public resolveIfPossible(ty: Ty): Ty {
|
||||
// TODO: dont be shallow resolve
|
||||
// note that fixing this will cause cycles. fix those cycles instead using
|
||||
// note that fixing this will cause cycles. fix those cycles instead using
|
||||
// he fancy occurs check as errs called it.
|
||||
if (ty.kind === "var") {
|
||||
return this.tryResolveVar(ty.index) ?? ty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue