mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix V.js
This commit is contained in:
parent
892d1c6aab
commit
d4c1bba856
@ -6,7 +6,7 @@ module builtin
|
||||
|
||||
import strings
|
||||
|
||||
struct array {
|
||||
pub struct array {
|
||||
pub:
|
||||
data voidptr
|
||||
len int
|
||||
|
@ -6,7 +6,7 @@ module builtin
|
||||
|
||||
import strings
|
||||
|
||||
struct map {
|
||||
pub struct map {
|
||||
obj voidptr
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
module builtin
|
||||
|
||||
struct string {
|
||||
pub struct string {
|
||||
//mut:
|
||||
//hash_cache int
|
||||
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
|
||||
// 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)
|
||||
|
Loading…
Reference in New Issue
Block a user