remove generics for now
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user