generics not implemented
All checks were successful
Check / Explore-Gitea-Actions (push) Successful in 8s
All checks were successful
Check / Explore-Gitea-Actions (push) Successful in 8s
This commit is contained in:
parent
f3315e9c31
commit
6162c8e042
@ -470,6 +470,10 @@ class TypeChecker {
|
|||||||
const callableTy = calleeTy.callableTy();
|
const callableTy = calleeTy.callableTy();
|
||||||
|
|
||||||
if (callableTy.kind.generics !== null) {
|
if (callableTy.kind.generics !== null) {
|
||||||
|
((() => {
|
||||||
|
throw new Error("generics not implemented");
|
||||||
|
}) as () => void)();
|
||||||
|
|
||||||
let generics: Ty[];
|
let generics: Ty[];
|
||||||
if (k.generics) {
|
if (k.generics) {
|
||||||
generics = k.generics.map((ty) => this.ty(ty));
|
generics = k.generics.map((ty) => this.ty(ty));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user