remove generics for now

This commit is contained in:
nub31
2025-07-22 20:08:51 +02:00
parent 7cb469fe73
commit 3faaf71e78
5 changed files with 32 additions and 125 deletions

View File

@@ -1,27 +1,6 @@
struct Box<T>
{
value: T
}
func main(args: []cstring): i64
{
let box = alloc Box<cstring>
{
value = "bob"
}
let box2 = alloc Box<cstring>
{
value = "bob"
}
let box3 = alloc Box<u8>
{
value = 23
}
c::puts(box.value)
c::puts("test")
return 0
}