fix V.js
							parent
							
								
									892d1c6aab
								
							
						
					
					
						commit
						d4c1bba856
					
				|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ module builtin | ||||||
| 
 | 
 | ||||||
| import strings | import strings | ||||||
| 
 | 
 | ||||||
| struct map { | pub struct map { | ||||||
| 	obj voidptr | 	obj voidptr | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -4,7 +4,7 @@ | ||||||
| 
 | 
 | ||||||
| module builtin | module builtin | ||||||
| 
 | 
 | ||||||
| struct string { | pub struct string { | ||||||
| //mut:
 | //mut:
 | ||||||
| 	//hash_cache int
 | 	//hash_cache int
 | ||||||
| pub: | pub: | ||||||
|  |  | ||||||
|  | @ -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) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue