Remove "overloading" bug of para-poly-procs

This commit is contained in:
Ginger Bill
2017-06-25 23:41:46 +01:00
parent 3ab481df17
commit 362a118782
5 changed files with 69 additions and 52 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ proc resize(ptr: rawptr, old_size, new_size: int, alignment: int = DEFAULT_ALIGN
}
proc new(T: type) -> ^T {
proc new(T: type) -> ^T #inline {
return ^T(alloc(size_of(T), align_of(T)));
}