diff --git a/releasenotes.md b/releasenotes.md index f5a32199c..138a604e6 100644 --- a/releasenotes.md +++ b/releasenotes.md @@ -34,6 +34,7 @@ - Fix error message when not finding a particular function. - Crash invoking a `@body` argument with the wrong number of parameters. - Fix reordering semantics in struct assignment. +- Regression when passing types as `#expr` arguments. #1461 ### Stdlib changes - Additional init functions for hashmap. diff --git a/src/compiler/sema_liveness.c b/src/compiler/sema_liveness.c index 038fdfd2d..56a93d5de 100644 --- a/src/compiler/sema_liveness.c +++ b/src/compiler/sema_liveness.c @@ -607,6 +607,8 @@ RETRY: case VARDECL_UNWRAPPED: break; case VARDECL_PARAM_EXPR: + // These are never traced, they are folded in use. + break; case VARDECL_PARAM_CT: case VARDECL_PARAM_REF: case VARDECL_PARAM: