summaryrefslogtreecommitdiff
path: root/infer.c
diff options
context:
space:
mode:
Diffstat (limited to 'infer.c')
-rw-r--r--infer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/infer.c b/infer.c
index d43c31f..5046eda 100644
--- a/infer.c
+++ b/infer.c
@@ -84,6 +84,7 @@ static bool infer_from_type(Typer *tr, Type *match, Type *to, Identifier *idents
case TYPE_UNKNOWN:
case TYPE_BUILTIN:
case TYPE_TYPE:
+ case TYPE_PKG:
break; /* nothing we can do here */
case TYPE_TUPLE: {
if (to->kind != TYPE_TUPLE) return true;