From 52ec72efcd748473c15fad74ff03cd9d88c38ccd Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sun, 14 May 2023 12:10:27 -0400 Subject: Fix an issue with tmp vars of ref type --- tnslc/simple.tnsl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tnslc/simple.tnsl') diff --git a/tnslc/simple.tnsl b/tnslc/simple.tnsl index 29113b7..ea517d4 100644 --- a/tnslc/simple.tnsl +++ b/tnslc/simple.tnsl @@ -7,7 +7,9 @@ asm "mov r8, rcx" asm "mov r9, rdx" + ~uint8 a = ~str1{0} + # return 3 - return argc + len str1 + return a` ;/ -- cgit v1.2.3