mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +03:00
v.gen.js: Interfaces support, fix for error propagation & panic stacktraces (#11471)
This commit is contained in:
parent
90e04d03b2
commit
5b619b99c2
4 changed files with 83 additions and 13 deletions
|
@ -7,7 +7,7 @@ module builtin
|
|||
fn (a any) toString()
|
||||
|
||||
pub fn panic(s string) {
|
||||
eprintln('V panic: $s')
|
||||
eprintln('V panic: $s\n$js_stacktrace()')
|
||||
exit(1)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue