mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.gen.js: Interfaces support, fix for error propagation & panic stacktraces (#11471)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user