fixing ptr traversal typecheck issues

This commit is contained in:
Irmen de Jong
2025-04-28 20:57:03 +02:00
parent c96e4b40d4
commit 6fc2902895
17 changed files with 278 additions and 78 deletions
@@ -90,6 +90,7 @@ internal class ExpressionGen(private val codeGen: IRCodeGen) {
is PtFunctionCall -> translate(expr)
is PtContainmentCheck -> translate(expr)
is PtPointerDeref -> translate(expr)
is PtPointerExprDereference -> TODO("deref")
is PtRange,
is PtArray,
is PtString -> throw AssemblyError("range/arrayliteral/string should no longer occur as expression")