pull/2535/head
Alexander Medvednikov 2019-10-24 22:58:01 +03:00
parent 892d1c6aab
commit d4c1bba856
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ module builtin
import strings import strings
struct array { pub struct array {
pub: pub:
data voidptr data voidptr
len int len int

View File

@ -6,7 +6,7 @@ module builtin
import strings import strings
struct map { pub struct map {
obj voidptr obj voidptr
} }

View File

@ -4,7 +4,7 @@
module builtin module builtin
struct string { pub struct string {
//mut: //mut:
//hash_cache int //hash_cache int
pub: pub:

View File

@ -1310,7 +1310,7 @@ fn (p mut Parser) dispatch_generic_fn_instance(f mut Fn, ti TypeInst) {
// TODO this is done to prevent a crash as a result of this not being // TODO this is done to prevent a crash as a result of this not being
// properly initialised. This is a bug somewhere futher upstream // properly initialised. This is a bug somewhere futher upstream
f.defer_text = []string {} f.defer_text = []string
old_args := f.args old_args := f.args
new_types := p.replace_type_params(f, ti) new_types := p.replace_type_params(f, ti)