test: map/slice clear
This commit is contained in:
@@ -388,8 +388,6 @@ func (p Program) toType(raw types.Type) Type {
|
||||
return &aType{llvm.ArrayType(elem.ll, int(t.Len())), typ, vkArray}
|
||||
case *types.Chan:
|
||||
return &aType{llvm.PointerType(p.rtChan(), 0), typ, vkChan}
|
||||
case *types.TypeParam:
|
||||
return p.toType(t.Underlying())
|
||||
}
|
||||
panic(fmt.Sprintf("toLLVMType: todo - %T\n", raw))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user