mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
module cache fixes; do not allow function names starting with _
This commit is contained in:
@ -57,7 +57,7 @@ pub fn print_backtrace(){
|
||||
}
|
||||
|
||||
// replaces panic when -debug arg is passed
|
||||
fn _panic_debug(line_no int, file, mod, fn_name, s string) {
|
||||
fn panic_debug(line_no int, file, mod, fn_name, s string) {
|
||||
println('================ V panic ================')
|
||||
println(' module: $mod')
|
||||
println(' function: ${fn_name}()')
|
||||
|
Reference in New Issue
Block a user