mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380)
This commit is contained in:
parent
738f847f89
commit
e983d75b64
31 changed files with 278 additions and 191 deletions
|
@ -1124,6 +1124,6 @@ pub fn string_buffer_to_generic_number[T](result &T, data []u8) {
|
|||
}
|
||||
*result = T(enumeration)
|
||||
} $else {
|
||||
panic('unsupported type ${typeof[T]().name}')
|
||||
panic('unsupported type ' + typeof[T]().name)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue