1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

js: comptime&assert improvements, more byte and strings.Builder methods ported (#12096)

This commit is contained in:
playX
2021-10-07 15:55:47 +03:00
committed by GitHub
parent 42359d8915
commit 33a1006cc5
9 changed files with 209 additions and 41 deletions

View File

@ -23,35 +23,35 @@ pub fn (i u16) str() string {
pub fn (i int) str() string {
mut res := ''
#res = new string( i )
#res = new string( i+'' )
return res
}
pub fn (i i64) str() string {
mut res := ''
#res = new string( i )
#res = new string( i + '')
return res
}
pub fn (i u32) str() string {
mut res := ''
#res = new string( i )
#res = new string( i + '')
return res
}
pub fn (i u64) str() string {
mut res := ''
#res = new string( i )
#res = new string( i + '')
return res
}
pub fn (i bool) str() string {
mut res := ''
#res = new string( i )
#res = new string( i + '')
return res
}