Sema: add error for non-comptime param in comptime func

Adds error for taking a non comptime parameter in a function returning a
comptime-only type but not when that type is dependent on a parameter.

Co-authored-by: Veikka Tuominen <git@vexu.eu>
ae8d26a6a0antlilja committed on 8/27/2022, 8:17:48 AM· committed by Veikka Tuominenparentda95da4
10 files changedLine totals unavailable