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
struct array {
pub struct array {
pub:
data voidptr
len int

View File

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

View File

@ -4,7 +4,7 @@
module builtin
struct string {
pub struct string {
//mut:
//hash_cache int
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
// properly initialised. This is a bug somewhere futher upstream
f.defer_text = []string {}
f.defer_text = []string
old_args := f.args
new_types := p.replace_type_params(f, ti)