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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user